A contributor learns about a broken renovate.json, a failing script test or a bad image pin from Lint today; as hooks they fail before the push. - check-json from pre-commit-hooks covers renovate.json. - script-tests runs the suite at pre-push, since it takes minutes. Its GIT_DIR points at an uncreatable path, so a fixture that keeps the caller's git environment fails instead of writing to this repository. Lint runs it by id; the suite now runs under the network guard. - check-image-pins runs check_image_versions.py pins on every commit: its inputs span workflows, Dockerfiles and docs/images, and it fails when one is missing. Lint's pre-commit run replaces its separate step. Adding hooks changes .pre-commit-config.yaml, an input of the ci image, so this pull request takes Lint's slow path and the next Images run publishes a new ci version. Refs: #187 Assisted-by: Claude Code
21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
# Pinned tooling for Lint and Build, used by CI (.gitea/workflows) and locally:
|
|
# python3 -m venv .venv-dev && . .venv-dev/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.38.0
|
|
galaxy-importer==0.4.45
|
|
reuse==6.3.0
|
|
# molecule without its Docker driver: Lint's run of the script-tests hook imports it in
|
|
# test_check_scenarios_load_checkout.py and test_run_molecule_scenarios.py, which skip without it.
|
|
molecule==26.11.1
|
|
# proxmoxer: the controller-side library community.proxmox's modules import (they refuse anything below 2.3),
|
|
# so lint runs where a consumer's controller would.
|
|
proxmoxer==2.3.0
|