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
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
# Pinned tooling for lint, build and Molecule, 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
|
|
# install in which the two files disagree. Renovate bumps a pin here and regenerates the lock
|
|
# (pip-compile manager); by hand, run scripts/lock-requirements.sh and commit both files (#113).
|
|
# Renovate (renovate.json) bumps these pins; a bump rebuilds the ci image (images/ci) and
|
|
# Renovate then moves the consumers' pins to it.
|
|
ansible-core==2.22.0
|
|
ansible-lint==26.10.1
|
|
pre-commit==4.7.0
|
|
antsibull-changelog==0.37.0
|
|
galaxy-importer==0.4.44
|
|
reuse==6.3.0
|
|
molecule==26.11.0
|
|
molecule-plugins[docker]==26.11.0
|
|
# apm-cli: for changing apm.yml (run apm install, commit the lock). Keep it at 0.36.1 or later (#252):
|
|
# before 0.29.0, `apm audit --ci` compares the whole .claude/settings.json and fails on any hand-written key.
|
|
apm-cli==0.36.1
|