ci(molecule): connect over the Docker API with a fixed Python interpreter #463

Open
Claude wants to merge 2 commits from ci/455-docker-api-connection into main
pull from: ci/455-docker-api-connection
2 Commits
Author SHA1 Message Date
Defame1297 c109d24229 ci(molecule): name the issue that removes the docker CLI mount
Build / build (pull_request) Successful in 38s
Molecule / molecule (pull_request) In progress
Lint / lint (pull_request) Successful in 3m24s
Part of #455

Assisted-by: Claude Code
2026-11-28 16:27:24 +00:00
Defame1297 faf1c7e36f ci(molecule): connect over the Docker API with a fixed Python interpreter
The docker driver's community.docker.docker connection starts the docker CLI for every task
on every host, and each playbook run discovers the interpreter on every container although
both molecule images ship /usr/bin/python3. The shared base config now sets
provisioner.connection_options, which molecule merges over the driver's own connection vars
for the container hosts only, so localhost keeps the controller's Python.

community.docker 5.4.1's docker_api connection supports pipelining and become and needs only
requests, which requirements-dev.lock already pins. The docker CLI bind mount in molecule.yml
stays until a green run shows nothing needs it; its comment and two others that named the
CLI's calls now describe the API connection.

Closes #455

Assisted-by: Claude Code
2026-11-28 15:51:17 +00:00