chore: correct comments the ci image change left stale
Build / build (pull_request) Successful in 28s
Molecule / select (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 3m0s
Molecule / Result (pull_request) Canceled after 0s
Molecule / scenarios (pull_request) Canceled after 18m22s

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:
Defame1297 committed 2026-12-02 09:26:03 +00:00
1 parent a48cd063ea
commit 22f5bc33e9
8 files changed
+16 -19

No files matched your search

+2 -1
View File
@@ -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
+3 -3
View File
@@ -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: {}
+2 -1
View File
@@ -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:
+1 -1
View File
@@ -16,7 +16,7 @@ reuse==6.3.0
# 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 and Molecule run where a consumer's controller would.
# so lint runs where a consumer's controller would.
proxmoxer==2.3.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.
+2 -3
View File
@@ -6,9 +6,8 @@
state: present
register: __ufw_install
# ansible_check_mode is not used: the play-level `check_mode: true` keyword does not set it inside
# include_role tasks. A command does not run in either form, so its output is missing; the same
# probe as tasks/sysctl.yml. Not `is skipped`: ansible-core 2.25 drops that check-mode result.
# Not ansible_check_mode, which the play-level `check_mode: true` keyword does not set in include_role
# tasks, nor `is skipped`, which ansible-core 2.25 drops: the probe's stdout is empty in check mode.
- name: Probe whether the run is in check mode
ansible.builtin.command: echo ran
register: __ufw_install_probe
+2 -3
View File
@@ -63,9 +63,8 @@
the rule tags): {{ ufw_managed_owners }}
quiet: true
# ansible_check_mode is not used: the play-level `check_mode: true` keyword does not set
# that magic variable inside include_role tasks (only --check does). A command does not run in
# either form, so its output is missing. Not `is skipped`: ansible-core 2.25 drops that result.
# Not ansible_check_mode, which the play-level `check_mode: true` keyword does not set in include_role
# tasks, nor `is skipped`, which ansible-core 2.25 drops: the probe's stdout is empty in check mode.
- name: Probe whether the run is in check mode
ansible.builtin.command: echo ran
register: ufw_oa_probe
+2 -3
View File
@@ -121,9 +121,8 @@
- ufw_manage_rules
tags: [ufw, ufw_service_rules]
block:
# ansible_check_mode is not used: the play-level `check_mode: true` keyword does not set
# that magic variable inside include_role tasks (only --check does). A command does not run in
# either form, so its output is missing. Not `is skipped`: ansible-core 2.25 drops that result.
# Not ansible_check_mode, which the play-level `check_mode: true` keyword does not set in include_role
# tasks, nor `is skipped`, which ansible-core 2.25 drops: the probe's stdout is empty in check mode.
- name: Probe whether the run is in check mode
ansible.builtin.command: echo ran
register: ufw_sr_probe
+2 -4
View File
@@ -7,10 +7,8 @@
check_mode: false
when: ufw_enabled and ufw_sysctl_overrides | length > 0
# ansible_check_mode is not used: the play-level `check_mode: true` keyword does not set that
# magic variable inside include_role tasks (only --check does). A command does not run in either
# form, so its output is missing; the same probe as tasks/service_rules.yml. Not `is skipped`:
# ansible-core 2.25 drops that check-mode result.
# Not ansible_check_mode, which the play-level `check_mode: true` keyword does not set in include_role
# tasks, nor `is skipped`, which ansible-core 2.25 drops: the probe's stdout is empty in check mode.
- name: Probe whether the run is in check mode
ansible.builtin.command: echo ran
register: ufw_sysctl_probe