Skip to content

ci(docker): run the image smoke checks as Docker build stages - #7204

Merged
dan-petty merged 1 commit into
mainfrom
ci/7202-image-smoke-stages
Nov 25, 2026
Merged

dan-petty merged 1 commit into
mainfrom
ci/7202-image-smoke-stages

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The image smoke checks were docker run lines copied between ci.yml and release-image.yml, with no one-command local run.

smoke.Dockerfile now has one stage for each image. CI builds the stages on the loaded images, and the release on the pushed digest.

Build stage Still a docker run
user, tool versions, absent build tools entrypoint and /healthz
runner tool check write probe and checkout bootstrap on a read-only root with no capabilities
uv seed: lock hash, uv version, offline sync size bounds and scans

Proof with Podman: all four stages build, and service-smoke fails on an image that holds uv or runs as root. The release path first runs in the release after the merge. The pull request now also runs the uv seed check of the release, which pulls the devtools image.

Closes #7202

Change: openspec/changes/archive/2026-11-25-7202-image-smoke-stages/

The checks of the user, the tool versions, the absent build tools, the
runner tools and the offline sync of the uv seed move into the stages of
smoke.Dockerfile. CI builds them on the loaded images, and the release
builds them on the pushed digest.

Refs #7202
@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/docker Docker and Podman commands and cleanup labels Nov 25, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 17:36
@dan-petty
dan-petty merged commit c4dfdb5 into main Nov 25, 2026
36 checks passed
@dan-petty
dan-petty deleted the ci/7202-image-smoke-stages branch November 25, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/docker Docker and Podman commands and cleanup type/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(docker): run the image smoke checks as Docker build stages

1 participant