Repository navigation
ci: install the e2e engine with docker/setup-docker-action - #14456
Merged
Merged
Conversation
docker-agent
reviewed
Nov 4, 2026
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
Lower-confidence findings (not posted inline)
- [low] .github/workflows/ci.yml:253 —
DOCKER_CONTEXT=setup-docker-actionrelies on the action creating a context with that exact name (confidence: weak 52/100)
glours
force-pushed
the
ci-e2e-setup-docker-action
branch
3 times, most recently
from
November 4, 2026 14:32
2ee9ecb to
004012c
Compare
docker-agent
reviewed
Nov 4, 2026
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ndeloof
previously approved these changes
Nov 4, 2026
The e2e job installed Docker through get-docker.sh, which resolves packages from the distribution's apt repository. ubuntu-latest moved to 26.04, whose repository has no Docker 28, so the oldstable rows could no longer install their engine. Install it with docker/setup-docker-action instead, with binaries that do not depend on the distribution: stable follows the latest release, oldstable follows the 28 image tag. The action starts its engine on its own socket, selected with set-host, so the e2e framework now forwards DOCKER_HOST, and TestBuildTLS clears it to keep reaching its dind builder. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
glours
force-pushed
the
ci-e2e-setup-docker-action
branch
from
November 4, 2026 15:03
004012c to
186245d
Compare
glours
enabled auto-merge (rebase)
November 4, 2026 15:22
ndeloof
approved these changes
Nov 4, 2026
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.
The e2e
oldstablejobs fail at "Install Docker 28":ubuntu-latestis now 26.04, and Docker's apt repository for that release only ships 29.x, soget-docker.sh --version 28finds nothing.Install the engine with
docker/setup-docker-actioninstead, with binaries that don't depend on the distribution:stablerows uselatest(the default archive source).oldstablerows use the image source with the28tag (type=image,tag=28), a floating major tag that avoids pinning a minor and patch version. When a new major ships, switch that tag to the previous major.stable:moby/moby-bin:29and:latestare still 29.9.1 whiledockereng/cli-binis at 29.9.3, which would pair a newer CLI with an older engine.daemon-config; the existingio.containerd.snapshotter.v1assertion is kept.dockerdon a dedicated socket, selected withset-host: true(DOCKER_HOST).DOCKER_HOSTto the commands it runs, next toDOCKER_CONTEXT: it runs them with a minimal environment and a temporaryDOCKER_CONFIG, so it would otherwise reach the runner's preinstalled daemon. A named context doesn't work as a replacement: buildx then loses the builder selected withbuildx create --use, which breaksTestBuildEntitlements,TestBuildPrivilegedandTestBuildPlatformsWithCorrectBuildxConfig.TestBuildTLSclearsDOCKER_HOST, which takes precedence over theDOCKER_CONTEXTit sets for its dind builder.Set up Docker Modelnow configures Docker's apt repository first (get-docker.sh --setup-repo), which the action doesn't do.🤖 Generated with Claude Code