-
Notifications
You must be signed in to change notification settings - Fork 17
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
Automate selection of latest SDK versions #530
Conversation
Should be ready for review! |
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.
One minor non-blocking suggestion, but LGTM. Would like @Sushisource to look to since he's more familiar with these workflows.
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.
This is looking good to me. Nothing blocking. Thanks!
go_latest="${{ github.event.inputs.go_sdk_version }}" | ||
if [ -z "$go_latest" ]; then |
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.
This script is long enough that I'm tempted to say it ought to go in a file, but, I can see how that's really annoying with the amount of variable interpolation going on. So, up to you if you think that's worth it.
I really wish GH's syntax highlighter at least did a better job here.
What was changed
Add a new
latest-sdk-version
command to query GH API to get the latest release version. Automatically run CI against latest SDK releases.Also added a mechanism to run the CI manually, specifying a custom SDK version to allow testing of versions that aren't the latest
This currently bumps the following SDK versions:
typescript: 1.10.3 -> 1.11.1
java: 1.25.0 -> 1.25.1
typescript: 1.2.0 -> 1.3.0
Why?
Prevent losing test coverage for accidentally forgetting to bump a version manually
Checklist
Closes
How was this tested:
Not sure how to test the override mechanism without having this merged into main. Because the newly added
dispatch_workflow
trigger isn't in main, I'm unable to trigger CI manually.