Repository navigation
ci: build the container check against the base images matching the checkout - #481
Conversation
…eckout Move the base image hash calculation to scripts/base-image-meta.sh, shared by release.yml and container.yml, and let container.yml resolve the published runtime/builder images by that hash instead of using the floating *-latest tags. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Contributor License Agreement✅ Every human contributor has accepted Cattr CLA version 1. CLA SHA-256: |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@coderabbitai review |
Action performed
|
The extractor skipped the opening and closing lines of the hashFiles expression, so an input added there could change the container image hash without failing tests/ci/base-images.sh. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes #478
Changes
release.ymltoscripts/base-image-meta.sh; the script body is unchanged, so existingruntime-<hash>/builder-<hash>tags keep their values.container.ymlgets abase-imagesjob that runs in the same Wolfi SDK container asrelease.yml, calculates the tags with that script and checks that the images are published. The build then passes them asBUILDER_BASE_IMAGE_TAG/RUNTIME_BASE_IMAGE_TAG.build/base/**orbuild/packages/**), the job emits a warning and falls back tobuilder-latest/runtime-latestfor that image, so such pull requests keep building.tests/ci/base-images.sh(run byrelease-check.yml) keeps the pieces that feed the hash identical in both workflows: the SDK image digest, build revision, config paths, OCI values, descriptions andhashFilesinputs.Verification
bash tests/ci/base-images.shandbash tests/ci/release-tags.shpass;scripts/base-image-meta.shwas run locally with stubbedapko/melangeand produces the expected outputs.Open points
*-latestuntil the images are published; building them in CI would need the privileged Melange/apko flow ofrelease.yml.🤖 Generated with Claude Code
Summary by CodeRabbit