-
Notifications
You must be signed in to change notification settings - Fork 594
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
Add ability to specify the RELEASE arg in build_docker_remote.sh, and add a release_prebuilt_docker_image.sh script #8247
Conversation
040a147
to
7849e19
Compare
I used the updated scripts in this PR to successfully push the 4.4.0.0 release image, so these are confirmed to be working correctly. |
build_docker_remote.sh
Outdated
echo "Building image with the tag ${DOCKER_IMAGE_TAG}..." | ||
|
||
SUBMIT_COMMAND="gcloud builds submit --tag ${DOCKER_IMAGE_TAG} --timeout=24h --machine-type n1_highcpu_8" | ||
if [ -n "$RELEASE" ]; 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.
Can you please make these use the same arguments? I don't like that the tag is getting set with the --tag
in one place, whereas in the other you are using a push "tag" inside of the build using the build.yml. These two codepaths are very incompatable and it seems dangerous to not have them unified. Please push the tagging for the non-release into the .yml file so we are at least beholden to the same mechanism failing.
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.
Fixed
Looking into finding a way to enable experimental docker features for |
Had to remove the |
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 looks better provided that you've tested and the default tagging is working for your use case. This is a more... confusing... way of propagating the tag but at least its consistent.
…oud-based docker build, and add a release script * Added a -r argument to build_docker_remote.sh to toggle the RELEASE flag during docker builds * Added a release_prebuilt_docker_image.sh to release a prebuilt docker image to the official repos
f2ad2d6
to
6fa35a0
Compare
No description provided.