-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Update workflow file #1639
ci: Update workflow file #1639
Conversation
@flank-it |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Integration tests succeed for all OSes ✅ |
Timestamp: 2021-03-02 06:35:05 |
f87120c
to
c6b41e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My goodness i made some bad spelling mistakes here :(
--result=${{ needs.run-it-full-suite.outputs.job_status }} \ | ||
--url=${{ needs.run-it-full-suite.outputs.build-scan-url }} \ | ||
--global-result=${{ needs.run-it-full-suite.outputs.job_status }} \ | ||
--run-result=${{ steps.state-json.outputs.run-state }} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There shouldnt be a need to set a whole new var? Simply using the env variable will give what you are expecting and the
run: |
STATE_JSON='{
"windows-latest": "${{ env.windows-latest }}",
"windows-latest-bs": "${{ env.windows-latest-bs }}",
"ubuntu-latest": "${{ env.ubuntu-latest }}",
"ubuntu-latest-bs": "${{ env.ubuntu-latest-bs }}",
"macos-latest": "${{ env.macos-latest }}",
"macos-latest-bs": "${{ env.macos-latest-bs }}"
}'
echo "::set-output name=run-state::$STATE_JSON"
is no longer needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sloox Oh, that's neat! Thanks!
so it will be --run-result=${{ env }}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env
specifically is the JSON string i was modelling it over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pawelpasterz yes
val macOsBSUrl: String = "", | ||
@SerialName("ubuntu-latest") | ||
val linuxResult: ITResult = ITResult.FAILURE, | ||
@SerialName("ubuntut-latest-bs") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my goodness what a bad spelling mistake 😲
enum class ITResult { | ||
SUCCESS, FAILURE | ||
} | ||
|
||
object ITResultSerializer : KSerializer<ITResult> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure this is needed?
@SerialName should do the trick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would, my intention was that scripts would handle both SUCCESS
and success
, not only lower cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am shocked they have yet to implement a type of alias as apart of the @SerialName parameter.
Kotlin/kotlinx.serialization#203
is the only info they have
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, and I can see that related PR is stuck :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
waiting for release to be merged
b515ac7
to
5d670a2
Compare
PR adds missing IT workflow logic
Test Plan
./gradlew build
common/flank-debug.properties
Full workflow can be tested once merged only