revert(molecule): connect with the docker CLI again
Two full runs on the docker_api connection took 45 and 49 minutes against 35 on the CLI connection, with the same tasks a median 13% slower. The fixed Python interpreter from the same change stays. Refs #455 Assisted-by: Claude Code
This commit is contained in:
1 parent
cdc5937e45
commit
0961dfdff4
3 files changed
+6
-9
No files matched your search
@@ -148,9 +148,8 @@ jobs:
|
||||
|
||||
# As the runner user, with the socket's group, so nothing in the job tree is left root-owned.
|
||||
# HOME (ansible's temp and caches) is in the job tree; a mounted passwd entry points the user
|
||||
# at it, because ansible's temp path is `~<user>/.ansible/tmp`. The image lacks the docker CLI
|
||||
# and the scenarios connect over the socket (docker_api); the host's CLI goes in until #462
|
||||
# removes it.
|
||||
# at it, because ansible's temp path is `~<user>/.ansible/tmp`. The driver's connection plugin
|
||||
# (community.docker.docker) runs the docker CLI, which the image lacks: the host's goes in.
|
||||
ac_root="$(cd ../../.. && pwd)"
|
||||
sock_gid="$(stat -c %g /var/run/docker.sock)"
|
||||
docker_cli="$(readlink -f "$(command -v docker)")"
|
||||
|
||||
Reference in new issue
Block a user