ci: build release images one at a time and install cosign per runner - #1772
Merged
Merged
Conversation
…1770) The self-hosted runners share one host. Concurrent image jobs raced cosign's bootstrap download into the shared home directory (checksum failure on the v0.15.0 re-tag) and share one Docker credential file, which the first job to finish logs out of. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
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.
Follow-up to #1770 / #1771.
Problem
The re-tagged v0.15.0 release run (35840398289) got past the smoke test, but the jim-scheduler job then failed in
sigstore/cosign-installerwithUnable to validate cosign version: 'v2.6.1'. That message means the bootstrap binary it downloads failed its checksum. v0.15.0 is the first release on the self-hosted runners (since #1541), and those runners share one host: one Docker daemon, one Docker credential file and one home directory. The three image jobs ran at the same time, so:~/.cosign;docker/login-action's post-step logout on the shared~/.docker/config.json);Fix
max-parallel: 1onbuild-containers: images build one at a time. This closes the whole class of shared-host races, at the cost of a few minutes per release.${{ runner.temp }}/cosign(per runner) rather than the shared home directory.Evidence
max-parallelresolves to 1.Docs: n/a - CI only.
🤖 Generated with Claude Code