-
Notifications
You must be signed in to change notification settings - Fork 83
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
Consolidate custom DC Docker image release scripts #4527
Conversation
WEBSITE_PROD_TAG="prod" | ||
|
||
# Tag to be added to the CDC image that is found. | ||
STABLE_CANDIDATE_TAG="stable-candidate" |
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.
We eventually want to tag as "stable". Is "stable-candidate" temporary until we have tagging working fully?
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.
The way I envisioned the workflow was (1) automatically tag stable-candidate (2) verify tests pass against it (3) manually change the tag from stable-candidate to stable. Thoughts?
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'm thinking that since autopush sanity would've already kicked in, we'd know before hand if the version had any issues. WDYT?
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 have kicked in, but it might not have succeeded. I think it'd be good to have a manual verification of test results before finalizing that the image is stable.
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.
SG.
A couple questions:
- Are you thinking we'd have a cloud run instance pointing to stable-candidate and use that for testing?
- We need to tag the git commit with the
customdc_stable
tag as well. Would we be tagging it withcustomdc_stable_candidate
first and update tocustomdc_stable
after the manual verification?
###### BEGIN CONFIG ###### | ||
|
||
# Tag of the website commit that we'll attempt to find a matching CDC image for. | ||
WEBSITE_PROD_TAG="prod" |
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 the script take the website tag as a parameter? Also, does it need to be a tag or can we get it to work with a commit sha as well?
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.
Sure, both are doable, though it's more work and maintenance to have the script be able to do more things. What will the standard workflow be?
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.
The tag would either be based on a prod tag or on a specific commit. It'd be good to support both.
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.
Ok, working on adding this now.
@hqpho Looking through my old PRs- is this still relevant? |
sounds good! thanks @hqpho |
This will be used to build + tag stable after the stable branch is updated: https://paste.googleplex.com/5895977398697984
An alternate approach would be to just keep the shared script and have the deployment yamls call it with arguments. Lmk what you think!