Skip to content

ci: build release images one at a time and install cosign per runner - #1772

Merged
JayVDZ merged 1 commit into
mainfrom
feature/release-image-jobs-serial
Sep 23, 2026
Merged

JayVDZ merged 1 commit into
mainfrom
feature/release-image-jobs-serial

Conversation

@JayVDZ

@JayVDZ JayVDZ commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

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-installer with Unable 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:

Fix

  • max-parallel: 1 on build-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.
  • cosign installs to ${{ runner.temp }}/cosign (per runner) rather than the shared home directory.

Evidence

  • The YAML parses, and max-parallel resolves to 1.

Docs: n/a - CI only.

🤖 Generated with Claude Code

…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>
@JayVDZ
JayVDZ enabled auto-merge (squash) September 23, 2026 09:08
@JayVDZ
JayVDZ merged commit 36c2dc1 into main Sep 23, 2026
17 checks passed
@JayVDZ
JayVDZ deleted the feature/release-image-jobs-serial branch September 23, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant