Commit Graph
15 Commits
Author SHA1 Message Date
renovate-bot 5019343242 chore(deps): update ubuntu:26.04 docker digest to 6a06111
renovate/stability-days Updates have met minimum release age requirement
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 13s
2026-10-30 15:02:25 +00:00
renovate-bot 6229342b93 chore(deps): update dependency uv to v0.13.6
renovate/stability-days Updates have not met minimum release age requirement
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 13s
Molecule / molecule (pull_request) Successful in 1m2s
2026-10-27 10:33:17 +00:00
renovate-bot fe003fbbea chore(deps): update ubuntu:26.04 docker digest to 19fcd1b
renovate/stability-days Updates have met minimum release age requirement
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 14s
2026-10-27 10:12:35 +00:00
Defame1297andClaude Sonnet 5.5 6c85d61827 fix(image): no single quote in a label (kaniko rejects it) and a check for it
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 13s
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
2026-10-26 19:44:12 +00:00
Defame1297andClaude Sonnet 5.5 aa1848a995 fix(image): act on the review of the image metadata
Build / build (pull_request) Failing after 10s
Lint / lint (pull_request) Successful in 13s
Molecule / molecule (pull_request) Successful in 58s
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
2026-10-26 19:32:03 +00:00
Defame1297andClaude Sonnet 5.5 c3c665e799 feat(image): describe every image: labels, a readme page and build metadata
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
2026-10-26 19:27:15 +00:00
Defame1297andClaude Sonnet 5.5 28a96e2ee5 docs(image): correct the ci Dockerfile base-image comment and bump ci to 0.2.5
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 12s
The comment still named ubuntu:24.04 above a FROM ubuntu:26.04. A Dockerfile edit is an
image input, so ci gets its PATCH bump (scripts/bump_image_versions.py) and a rebuild.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 19:08:32 +00:00
Defame1297andClaude Sonnet 5.5 43b8acbe87 fix(image): drop the ci Dockerfile comment edit and the empty f-strings
A comment edit in images/ci/Dockerfile is an image input, so the bump check wants a
version bump and a rebuild for nothing; the stale base comment waits for the next real ci
change. Two test strings had no interpolation (pylint f-string-without-interpolation).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 19:06:53 +00:00
Defame1297andClaude Sonnet 5.5 bc5ae09de7 fix(image): make the job container check fail closed
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Failing after 10s
Lint / lint (pull_request) Failing after 6s
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
2026-10-26 19:03:19 +00:00
renovate-bot b6b3cfd696 chore(deps): update ubuntu docker tag to v26
Molecule / molecule (pull_request) Skipped
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 15s
2026-10-26 18:20:19 +00:00
ClaudeandClaude Sonnet 5.5 f540e652d3 feat(image): bake the ansible-test sanity virtualenvs into the ci image
`ansible-test sanity --requirements` builds one virtualenv per test under
~/.ansible/test/venv (keyed by the requirements hash) on every run: about
25s of the Build job. Prime them at image build time with --prime-venvs
against a stub collection, for the controller Python and the baked 3.11 and
3.13, and copy ~/.ansible/test into the final image as its own layer.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 12:10:03 +00:00
ClaudeandClaude Sonnet 5.5 eac17da022 fix(image): make the hook smoke-test samples pass yamllint --strict
Build / build (pull_request) Successful in 50s
Lint / lint (pull_request) Successful in 1m24s
The yamllint hook runs with --strict, so the warnings on the sample files
(missing document start, unquoted `on` key) failed the build (run 2256).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 11:32:31 +00:00
ClaudeandClaude Sonnet 5.5 9be17d6655 fix(image): stage only the sample files in the ci image's hook smoke test
Build / build (pull_request) Successful in 50s
Lint / lint (pull_request) Successful in 1m23s
`git add -A` also staged the copied .pre-commit-config.yaml, so the yamllint
smoke run linted it with the default rules (six lines over 80 characters)
and, under set -eu, aborted the build before gitleaks and actionlint ran.
pre-commit does not need its own config to be tracked.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 11:24:46 +00:00
ClaudeandClaude Sonnet 5.5 8078477a4b fix(image): drop the Go toolchains from the ci image's hook cache
Build / build (pull_request) Successful in 51s
Lint / lint (pull_request) Successful in 1m23s
The first push of mortis/ci failed with 413 Payload Too Large: the
/opt/pre-commit layer was 377 MB, of which two environments of 172 and
176 MB (gitleaks and actionlint) each hold their own Go toolchain
(pre-commit keeps <env>/.go; only the built binaries in <env>/bin run).

Run the yamllint, gitleaks and actionlint hooks on a staged sample, delete
the toolchains and the Go build cache, and run the three hooks again, so a
cache that no longer works fails the build instead of the jobs.

Also stop the python3.X symlink loop from hiding a broken link (the RUN had
no -e, so only the last iteration decided the status).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 10:57:49 +00:00
ClaudeandClaude Sonnet 5.5 924a598233 feat(image): build a CI image with the lint and build tooling baked in
Lint and Build install OS packages, the pinned Python tools and every
pre-commit hook environment on each run (about 40s of the 50 to 86s). Bake
them into git.rkdr.net/mortis/ci instead:

- images/ci/Dockerfile, multi-stage: the build stage creates the venv from
  requirements-dev.txt, installs Python 3.11 and 3.13 (uv, for the ansible-test
  compile check that is skipped today) and runs `pre-commit install-hooks`
  from .pre-commit-config.yaml; the final stage copies only the results.
  Several layers, each meant to stay below Cloudflare's 100 MB request limit.
- The image records the sha256 of the two pin files it was built from
  (/opt/ci-pins.sha256) so a job can detect drift and fall back to
  installing at run time.
- image.yml builds both images in a matrix (molecule-ubuntu2404 unchanged,
  ci with the repository root as build context) and also runs when the pin
  files change.

Nothing consumes the image yet: the workflows switch to its digest in a
follow-up once the first build has shown the real layer sizes.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 10:46:54 +00:00