ci(molecule): run Molecule from the ci image instead of the runner's venv #345

Merged
Defame1297 merged 5 commits from ci/225-molecule-in-ci-image into main 2026-11-24 08:25:22 +00:00
5 Commits
Author SHA1 Message Date
Defame1297 c2804c3b48 fix(molecule): give the driver's connection plugin the host's docker CLI
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 2m42s
Molecule / molecule (pull_request) Successful in 15m57s
community.docker.docker connects to each instance with the docker CLI,
which the ci image does not carry.

Assisted-by: Claude Code
2026-11-24 08:02:55 +00:00
Defame1297 f86e339e5b test(scripts): avoid a disallowed name in the image-input test
Build / build (pull_request) Successful in 16s
Lint / lint (pull_request) Successful in 1m9s
Molecule / molecule (pull_request) Failing after 2m47s
Assisted-by: Claude Code
2026-11-24 07:26:06 +00:00
Defame1297 1d28f1a8bc test(scripts): cover a failing venv and name the extra collections path
Assisted-by: Claude Code
2026-11-24 07:25:10 +00:00
Defame1297 8c52c91dfd ci(molecule): run the in-image step from a tested script and list the fifth pin file
Assisted-by: Claude Code
2026-11-24 07:23:42 +00:00
Defame1297 2e32016c43 ci(molecule): run Molecule from the ci image instead of the runner's venv
Pin molecule and its Docker driver in requirements-dev.txt and bake them,
with the driver's collection, into the ci image. The Molecule job runs
docker run on the pinned ci image with the Docker socket and the checkout
mounted at the same path, as the runner user. A pull request whose pins
differ from the image installs its own pins first, so a core bump runs its
scenarios on the new core. gitea_runner no longer installs the molecule
venv and collections.

Closes #225

Assisted-by: Claude Code
2026-11-24 07:14:19 +00:00