-
Notifications
You must be signed in to change notification settings - Fork 27
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
(cloud images): add environment
default tag
#566
Conversation
95291e7
to
9b7d40d
Compare
d44593c
to
271f9f1
Compare
packer/build_image.sh
Outdated
@@ -238,6 +245,7 @@ if [ "$BUILD_MODE" = "debug" ]; then | |||
fi | |||
if $DEBUG ; then | |||
IMAGE_NAME="debug-$IMAGE_NAME" | |||
ENV_TAG="debug" |
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.
Why to add it twice? in line 17 and here..
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.
leftover , removed
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
Adding a logic for the `environment` tag for better image search default value is set for `debug` - master tag value will be `daily` - releases, the tag value will be `candidate` (and we modify it to `production` once we promote) - debug jobs (everything running under `machine-image` gating, `byo` or `releng-testing`) the value will be debug There is one special case for private builds that will be handled in a separate PR This is a prep for scylladb/scylla-pkg#4077
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
Adding a logic for the
environment
tag for better image searchThe default value is set for
debug
daily
candidate
(and we modify it toproduction
once we promote)machine-image
gating,byo
orreleng-testing
) the value will be debugThere is one special case for private builds that will be handled in a separate PR
This is a prep for https://github.com/scylladb/scylla-pkg/issues/4077
Need to be merge only after https://github.com/scylladb/scylla-pkg/pull/4725