CASMINST-6604 All images should come from csm-stable/sat-stable #2701
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.
Summary and Scope
With csm build listing images coming from sources other then artifactory.algol60.net/csm-stable, we can't guarantee the image will be available next time when we want to re-use set of images. As of 1.5.0-rc.1, we have 3 images of this type:
We need to change physical references to point to csm-stable, where we rebuild images at daily basis and retain digests if they are referenced by potential release bases. I.e. for
physical reference has to be
Until this is implemented, builds having CSM_BASE_VERSION will also have to have FAIL_ON_MISSED_IMAGE_DIGEST set to "true". Otherwise, build will fail on alpine:3.16 image digest, which is long gone, because that image was rebuilt externally and digest is not preserved in our cache. In other words, a build generated this way, is not the same as it's base - it has newer "alpine:3.16" image.
Issues and Related PRs
Testing
Tested on:
Test description:
Tested in different combinations of
CSM_BASE_VERSION
andFAIL_ON_MISSED_IMAGE_DIGEST
inputs.Risks and Mitigations
Not known atm.
Pull Request Checklist