-
Notifications
You must be signed in to change notification settings - Fork 424
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
Set up Docker test job to allow publishing release images #26046
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
riftEmber
force-pushed
the
docker-release-job
branch
from
October 7, 2024 17:56
08c6a7e
to
c1fa269
Compare
riftEmber
force-pushed
the
docker-release-job
branch
9 times, most recently
from
October 8, 2024 17:18
6d01658
to
fc39ae0
Compare
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Includes comment describing Docker limitation motivating this. Also correctly remove tagged image name pre-build. Signed-off-by: Anna Rift <[email protected]>
To be more robust against unnecessary rebuilds Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
docker-release-job
branch
from
October 8, 2024 21:12
8b07aab
to
cc3465c
Compare
Signed-off-by: Anna Rift <[email protected]>
tzinsky
approved these changes
Oct 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor the Docker nightly testing script to optionally also push release-tagged images.
Configured by the
RELEASE_VERSION
environment variable, assumed to get set via Jenkins parameter. If set, the script pushes the images tagged aslatest
and$RELEASE_VERSION
. All nightly build/pushes still run before release-tagged pushes, so we don't push a release if any image variants are broken. Script aborts without building anything ifRELEASE_VERSION
is set but we're not on the appropriate release branch.As part of this PR I attempted to change our process to test the image before pushing, rather than build, push, then test. However, on
chapelmac-m1
this ran into docker/buildx#59, so I reverted it. Since we only push release images after all nightly images, we're still safe from pushing a broken release-tagged image. Noted this limitation and the requirement to build nightly images first in a comment.Also includes:
util/cron/publish-docker-images.bash
which didn't contain as much functionality astest-docker.bash
Resolves https://github.com/Cray/chapel-private/issues/6743.
[reviewer info placeholder]
Associated pre-merge tasks:
chapel-test{,-gasnet,-gasnet-smp}
)Testing: