-
Notifications
You must be signed in to change notification settings - Fork 521
Add GitHub Action to Release All Images #514
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
Conversation
…r_release_to_pipeline
| raise ValueError("usage: determine_required_releases.py [image-name]") | ||
| image_name_map = _load_image_name_to_version_map() | ||
|
|
||
| if sys.argv[1] not in image_name_map: |
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.
can we define a variable image_name = sys.argv[1] and use it in all 6 places?
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.
yes, good idea 👍
| args.image_name | ||
| ) | ||
| ) | ||
| return 0 |
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.
do we want to exit here with code 0 or an error code?
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.
right good catch, the reason for a 0 here rather than error, is that we run this task for every image we are going to release. This will update the release as a support version (for agent only currently), but we need this to be a no-op rather than failure for the other images.
This task will currently only fail if there is an error when interacting with the release database in Atlas.
rodrigovalin
left a comment
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.
LGTM
This PR adds a GitHub Action which builds and pushes all of our images to Quay. The release process is as follows.
Create Release PRaction (master branch release.json should contain the desired versions, any that do not exist, will be built and released. no-op for already released images.)This PR also includes a bump for the operator to version 0.6.1, so when the release task is called we can release this new operator version.
The evergreen release tasks have been removed.