build(ci): drop molecule's Docker driver and community.docker from the ci image
Molecule runs in the molecule-controller image. In the ci image, only Lint's "Test the repository scripts" step uses molecule: test_check_scenarios_load_checkout.py runs check_scenarios_load_checkout.py, which imports molecule's config lookup, and test_run_molecule_scenarios.py expands platform names with molecule's interpolator. Both skip silently without molecule, so molecule stays, with a comment naming the step. Nothing in Lint or Build uses the Docker driver (molecule-plugins[docker]) or the docker SDK it pulls in: those tests use molecule's default driver and a stub docker module. No linted file calls a community.docker module, and a local clone, which never installs extensions/molecule/requirements.yml, passes ansible-lint. So the driver, docker, selinux and community.docker leave the ci image, and extensions/molecule/requirements.yml leaves its pin record: a community.docker bump no longer publishes a ci version. The lock is regenerated with scripts/lock-requirements.sh. Every script test passes, none skipped, in a venv installed from the new lock. Assisted-by: Claude Code
This commit is contained in:
1 parent
3414880d05
commit
39ec8e5b3c
9 files changed
+33
-58
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Pinned tooling for lint, build and Molecule, used by CI (.gitea/workflows) and locally:
|
||||
# Pinned tooling for Lint and Build, used by CI (.gitea/workflows) and locally:
|
||||
# python3 -m venv .venv && . .venv/bin/activate && pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt
|
||||
# This file holds the direct pins; requirements-dev.lock is their hashed lock (every transitive
|
||||
# package too, with the sha256 of each release file) and is what gets installed; pip refuses an
|
||||
@@ -12,8 +12,9 @@ pre-commit==4.7.0
|
||||
antsibull-changelog==0.38.0
|
||||
galaxy-importer==0.4.44
|
||||
reuse==6.3.0
|
||||
# molecule without its Docker driver: Lint's "Test the repository scripts" step imports it in
|
||||
# test_check_scenarios_load_checkout.py and test_run_molecule_scenarios.py, which skip without it.
|
||||
molecule==26.11.1
|
||||
molecule-plugins[docker]==26.11.0
|
||||
# proxmoxer: the controller-side library community.proxmox's modules import (they refuse anything below 2.3),
|
||||
# so lint and Molecule run where a consumer's controller would.
|
||||
proxmoxer==2.3.0
|
||||
|
||||
Reference in new issue
Block a user