Repository navigation
ci(actions): pin podman OCI runtime to the flake's crun in setup-env - #1300
Merged
Merged
Conversation
The 2026-07-26 ubuntu-24.04 runner image bumped preinstalled podman 4.9.3 -> 5.8.4 while keeping Ubuntu's stale crun (< 1.14.3), which rejects the OCI spec v1.2.x config podman >= 5 writes -- every `podman run` in the image testinfra died with "crun: unknown version specified". Resolve crun from the dev-shell closure and point the rootless containers.conf `crun` runtime at it, so the podman<->crun pairing is pinned by flake.lock instead of the runner image. CI-infra-only change (devkit's own setup-env composite action, not a scaffolded asset); no unit-test surface -- verified by the live CI runs on this PR and the post-merge dev image build. Refs: #1299
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.
Summary
Fixes #1299 — the 2026-07-26
ubuntu-24.04runner image bumped preinstalled podman 4.9.3 → 5.8.4 while keeping Ubuntu's stale system crun (< 1.14.3), which rejects the OCI runtime-spec v1.2.xconfig.jsonpodman ≥ 5 writes (crun: unknown version specified). Everypodman runin the image testinfra died at container start — run 30528291013, 116/116 errors on the amd64 leg. Rollout is per-runner, so red is probabilistic until the fleet converges.setup-envnow resolves crun from the flake dev-shell closure (the version nixpkgs pairs with podman 5.8.x, already pulled for the nix podman) and writes a rootlesscontainers.confdrop-in pointing thecrunruntime at that store path. Podman itself stays on the host path (#632 — rootless setuid newuidmap integration); only the OCI runtime it execs is pinned. The pairing is then governed byflake.lock, immune to runner-image drift, and backward-compatible with older host podman. If no crun is found in the closure the step warns and keeps the host runtime (no behavior change).Verification
No unit-test surface (devkit-internal composite action, not a scaffolded asset). Verified by this PR's own CI: the
Image Testsjob runs the sametest-image→setup-env→podman runpath, and the step log now prints the pinned crun version. Post-merge, the dev push triggers the full Nix Image (discovery) build + testinfra on both arches.Refs: #1299