This repository is public and stands alone. Comments and prose no longer
describe another repository, its documents, hosts, network or runner
sizing; each one states its own reason or is gone.
- Workflow headers keep the conclusions (disposable runner with no
outside secret, the if: guard is not a boundary, no fork pull
requests, the image build's memory cap) and drop the description.
- Isolation lines are worded as a property of this repository.
- The denied image namespace stays in check_image_versions.py, described
only as a namespace this repository's CI must not use.
- CLAUDE.md and CONTRIBUTING.md gain the standing rule and the search to
run when bringing content in from another repository.
- ci image 0.2.29 -> 0.2.30: .pre-commit-config.yaml and
requirements-dev.txt are image inputs.
The ADR 0004 pointers, the README Roadmap, the skills-source mentions
and released changelog entries stay as they are.
Closes#108
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
.python-version (3.14) is the source. dev-setup.sh and lock-requirements.sh
require exactly that minor; the ci image builds /opt/venv from its baked
python-build-standalone of that version (ARG PYTHON_VERSION) instead of the
distribution's python3, and derives the python<MINOR> links for
ansible-test from it; `check_image_versions.py pins` fails when
.python-version, the lock header or an `ARG PYTHON_VERSION` differs.
The lock already carries the 3.14 header (Renovate's -full container runs
pip-compile on its own python 3.14.8); renovate.yml now says that python's
minor version must equal .python-version. ci image 0.2.25 -> 0.2.26.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
Fix what ruff 0.17.5's default rule set and the complexity rules report (#112):
removeprefix/removesuffix instead of slicing, `_unused` for discarded tuple
members, obsolete `noqa: E402` removed, a parenthesised string pair and an
immutable class constant in the tests.
Three functions stay over a complexity threshold and carry an inline
`# noqa` with the rule code and a reason: matrix_of and copy_sources of
check_image_versions.py (#96 may replace them) and path_problems of
check_tarball.py. No rule is ignored globally and no threshold is tuned.
ruff writes .ruff_cache/ into the checkout, which test_real_build_passes
caught in the Collection archive: add it to galaxy.yml build_ignore. ruff.toml
joins the molecule selector's IGNORED paths, since no scenario reads it.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
Output of `ruff format` and nothing else, in its own commit so the diff is
reviewable (#112). The ruff-check hook is skipped for this commit only: its
findings are fixed in the next one.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
Rewrite stale gate wording and trim private references so the repository
can be made public.
- molecule.yml header: the runner sits in an isolated network segment, not
behind the Proxmox firewall; state that a fork PR's workflow started
without approval in a live test (unproven for outsiders) and that the
`if:` guard is a convenience, not a boundary. Fork PRs are not claimed
disabled; the repository should not accept them from untrusted users.
- CONTRIBUTING.md: same fork PR statement.
- SECURITY.md: new, with a TODO(operator) for the reporting contact.
- CLAUDE.md trimmed. Removed: the private environment-repo links and issue
numbers, the two-sentence extraction history, run numbers, the registry
push secret names and the Renovate token name and scopes, the Renovate
dry-run and first-live-run narrative, the runner hostname and the
cron time. Kept: git -C and commit-with-git rules, runner labels, image
and Renovate rules.
- ADR 0004 references in workflows and scripts now say it lives in the
maintainer's environment repository; docs/images/ci.md drops "private".
Comment and doc text only; image pins, the bot e-mail and runner labels
are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Run 2556: the ci image failed at its LABEL step (unexpected end of statement while looking for
matching single-quote) on the apostrophe in 'the distribution's python3'. Docker accepts it,
kaniko's own LABEL parser does not, and the molecule images built only because their labels
have none. The label text is reworded and check_image_versions.py pins now fails on a single
quote in any label. ci 0.2.6 was never pushed; the gate wants a higher version than main's,
so the fix is 0.2.7.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Label parser: split the LABEL instruction like a shell (a value may hold NAME=value text), read
the last stage only, require base.name and tie it to the FROM tag, require the documentation
link to be <source>/src/branch/main/docs/images/<name>.md and the page to be non-empty.
Docs: do not name a Python version the base may not ship, show the lint.yml pin check as it
is, say which workflow paths start a build, name the system-language local hooks, add the
apparmor option and the registry path to the molecule usage, and soften unverified Renovate
and host-release statements.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
The registry page shows the description as plain text, every label, and links to source,
documentation and licence; it renders no readme. Each Dockerfile now carries one label
block (title, description, source, url, documentation, licenses, authors, base.name and
net.rkdr.mortis.purpose/contents/usage), the build adds version, revision and created, and
docs/images/<name>.md says what the image is for, what it contains and how to use it.
check_image_versions.py pins fails when a label or that page is missing. The labels are
image inputs, so the three images get their PATCH bump.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Review findings: a non-ubuntu or variable FROM went unchecked, the registry-prefixed
ubuntu forms were missed, the container line could be satisfied by a lookalike in a run
block, and a quoted job_image passed the check but not the bot-diff guard or Renovate.
Also: stale ci Dockerfile base comment, the pins error now says what to edit, and the
docs state that a job_image-only bump rebuilds nothing.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
kaniko runs inside the job container and unpacks the image it builds over it, so the
job container must be the same Ubuntu release as the image's FROM lines. A single
ubuntu:26.04 job container broke the molecule-ubuntu2404 build (run 2529: GLIBC_2.42
not found, then the credential cleanup step died too).
Each matrix entry now names job_image, check_image_versions.py pins fails when it
differs from the Dockerfile's release, the bot-diff guard allows tag and digest edits
of job_image lines, Renovate tracks them with a regex manager (never automerged), and
major ubuntu updates are disabled everywhere: a new release is a deliberate edit.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Dry run 2453 ran the bump post-upgrade task in the Renovate image and it
failed with ModuleNotFoundError: yaml, so every bump PR would have opened
without the version bump. matrix_of() is now a small block-style reader that
fails closed on anything else; a test compares it with PyYAML on the real
image.yml and another forbids importing yaml in the scripts.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
bump_image_versions.py now locates each matrix.include entry and rewrites the
version: line of the entry whose name: it is, whatever the key order; an entry
it cannot parse unambiguously is a one-line error, and the rewrite is verified
against the YAML before it is written. Files are read and written as UTF-8 with
newline="" so CRLF survives. A shallow clone without a merge-base names the fix
(git fetch --unshallow). check_image_versions.py decodes git's stderr, so errors
no longer print a bytes repr. Untracked files that git ignores were already
skipped; a test now pins that.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
The pins check now fails when any file under .gitea/workflows mentions
git.rkdr.net/defame1297/, so the environment repo's production images can
never appear in the Collection's CI.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Factor the changed-path listing and the per-image input detection out of
check_image_versions.py (changed_paths, changed_images) and reuse them in a
new script that bumps the PATCH version of every image whose inputs changed.
It is meant to run later as a Renovate postUpgradeTasks command.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Pin mentions are matched case-insensitively with an optional port, a nested path
and no tag, so a mis-spelled or untagged pin is reported instead of ignored. The
Dockerfile COPY/ADD reader raises an error naming file and line on a source with
a variable, quote or comment character and on a RUN --mount of the build context,
and joins continuation lines with trailing blanks. A non-UTF-8 diff path and an
empty image.yml get their own messages, lint.yml is a required consumer, the
success line lists the consumers checked, and the docstring states the known limits.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Sanity (pylint, shebang) failed the Build check: drop the shebang and the
executable bit, simplify a comprehension, define functions instead of
assigning lambdas and pass check= to every subprocess.run.
Read the changed files with git diff -z so non-ASCII paths are compared
unquoted. Validate the matrix shape (non-empty list of mappings, string
name/version/dockerfile/subpath, no duplicate names) with one-line errors.
Match semver with fullmatch and reject leading zeros. Let a pin end at
, ) ] } or a quote. Document the known limits.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Renamed or moved input files now count as touched (git diff --no-renames), so a
rename can no longer hide a changed image input. The base ref must be a plain ref
name and is passed after --end-of-options. Parse and git failures exit 1 with a
one-line message instead of a traceback. Prerelease versions compare per semver
(numeric identifiers numerically, numeric below alphanumeric). Whole-line YAML
comments are ignored when looking for pins.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Add scripts/check_image_versions.py (pins mode, and bump mode on pull requests) with
unit tests, and run both plus the scripts' tests in lint.yml. tests/scripts is added
to galaxy.yml build_ignore.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm