chore: correct comments the ci image change left stale
image.yml's push paths listed extensions/molecule/requirements.yml under the ci image, which no longer bakes it; it now sits with the molecule-controller files. The list only triggers the build, so the paths are unchanged. requirements-dev.txt no longer feeds Molecule, so the proxmoxer comment names lint only. The ufw probe comments now say the probe's stdout is empty in check mode, in two lines each, and two lines in lint.yml and the workflow rules are re-wrapped. Assisted-by: Claude Code
This commit is contained in:
1 parent
a48cd063ea
commit
22f5bc33e9
8 files changed
+16
-19
No files matched your search
@@ -53,7 +53,8 @@ issue.
|
||||
|
||||
- **Lint and Build run in the pinned `ci` image and compare the pin files with the checksums
|
||||
baked into it (`/opt/ci-pins.sha256`).** A pull request that changes `requirements-dev.txt`,
|
||||
`requirements-dev.lock`, `requirements.yml` or `.pre-commit-config.yaml` takes the slow path, which installs the pinned tools and collections.
|
||||
`requirements-dev.lock`, `requirements.yml` or `.pre-commit-config.yaml` takes the slow path,
|
||||
which installs the pinned tools and collections.
|
||||
*Why:* a pull request is tested on its own pins, and an unchanged one starts in seconds.
|
||||
*Held:* control: the "Check the baked tooling against the pins" step.
|
||||
- **On the fast path the network is cut by environment**: `PIP_NO_INDEX=1`, the proxy variables
|
||||
|
||||
@@ -39,15 +39,15 @@ on: # yamllint disable-line rule:truthy
|
||||
- main
|
||||
paths:
|
||||
- 'images/**'
|
||||
# The ci image bakes these files' contents in (images/ci/Dockerfile).
|
||||
# The ci image bakes these files' contents in (images/ci/Dockerfile); requirements.yml too.
|
||||
- 'requirements-dev.txt'
|
||||
- 'requirements-dev.lock'
|
||||
- 'requirements.yml'
|
||||
- 'extensions/molecule/requirements.yml'
|
||||
- '.pre-commit-config.yaml'
|
||||
# The molecule-controller image bakes these (images/molecule-controller/Dockerfile).
|
||||
# The molecule-controller image bakes these, and requirements.yml (its Dockerfile).
|
||||
- 'requirements-molecule.txt'
|
||||
- 'requirements-molecule.lock'
|
||||
- 'extensions/molecule/requirements.yml'
|
||||
- '.gitea/workflows/image.yml'
|
||||
workflow_dispatch: {}
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@ name: Lint
|
||||
# The tools come from the ci image (images/ci, built by image.yml): the pinned Python
|
||||
# tools of requirements-dev.txt, the collections of requirements.yml and the hook
|
||||
# environments of .pre-commit-config.yaml are baked in. When a PR changes one of those
|
||||
# files the checksum check below fails and the job installs the pinned tools and collections itself for this run (slower, same result).
|
||||
# files the checksum check below fails and the job installs the pinned tools and
|
||||
# collections itself for this run (slower, same result).
|
||||
on: # yamllint disable-line rule:truthy
|
||||
pull_request:
|
||||
branches:
|
||||
|
||||
Reference in new issue
Block a user