refactor(images): image docs next to the images, check_image_versions.py pins only #169
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Kamino#169
Reference in new issue
Block a user
Spec: CI image pipeline: keep, simplify or replace, resolution sections 1, 2, 5 and 6. This also carries the image-doc items owed from Resolve stale and contradictory claims. It comes after ci(images): assign image versions in CI and open the pin PR right after a push, which changes the same files.
What
images/molecule-ubuntu2404andimages/molecule-ubuntu2604stay separate (decided in Molecule and Renovate on the shared runner: isolation, capacity and cost, item 5: a release build argument would need a regex manager, a bot-gate exception, apinscheck that reads build arguments and per-release label arguments, and the Debian 13 image differs by more than a release tag). No custom check that the files differ only on expected lines; review holds that.images/ci/README.mdand one doc for the molecule images replacedocs/images/*.md.*.mdunderimages/is not an image input.documentationlabels point at the new paths. A label edit is an input.ciheader: state the measured saving (Lint about 82s without the image vs 15-25s with it; Build about 50s vs 10-25s) so a later reader can check it still pays. Also state the cost side: the image build time and how often the image was rebuilt over a stated period (ciwent 0.1.0 to 0.2.23 in three weeks, 9 versions on Nov 14-15; each version costs an image build on the shared runner plus a pin pull request's CI), or say they were not measured.check_image_versions.py:pinsmode only. It keeps these checks, each with a one-line reason, and is rewritten for the new layout as small as it will go:job_imagerelease equals the DockerfileFROM;.python-versioncheck (check_python_pin: lock header andARG PYTHON_VERSION);Acceptance
main, and their smoke scenarios pass.renovate --platform=local) finds both base digests.Review of the map (2026-11-15): corrections to this issue.
ciheader records the saving but not its cost. The issue says to state the per-run saving (Lint about 82s vs 15-25s; Build about 50s vs 10-25s) "so a later reader can check it still pays". That check also needs the other side. The resolution of CI image pipeline: keep, simplify or replace notesciwent "0.1.0 → 0.2.23 in three weeks (9 versions on Nov 14–15)", and each version costs an image build on the shared runner plus a pin pull request's CI. Change: the header also states the image build time and how often the image was rebuilt over a stated period, or says they were not measured.Waiting on another decision: whether to merge the two molecule Dockerfiles into one at all waits on Molecule and Renovate on the shared runner: isolation, capacity and cost.
Scope changed by Molecule and Renovate on the shared runner: isolation, capacity and cost, item 5: keep one Dockerfile per molecule image. Drop "one molecule Dockerfile": a release build argument would need a regex manager, a bot-gate exception, a
pinscheck that reads build arguments, and per-release label arguments, and the Debian 13 image (#226) differs by more than a release tag. No custom check that the files differ only on expected lines; review holds that. The rest of this issue (docs next to the images,check_image_versions.pypins only) stands.Review of the map (2026-11-17).
The list of checks to keep predates two things. Also keep the
.python-versioncheck (check_python_pin: lock header andARG PYTHON_VERSION), added on 2026-11-16 and named by the floor issue and the agent context, and the consumer-pin shape check in whatever form survives CI-assigned versions.Proposed, not done: title "refactor(images): image docs next to the images, check_image_versions.py pins only". The shared-runner decision kept one Dockerfile per image, so "one molecule Dockerfile" in the title now says the opposite of the spec.
refactor(images): one molecule Dockerfile, image docs next to the images, check_image_versions.py pins onlyto refactor(images): image docs next to the images, check_image_versions.py pins onlyBody rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.
RELEASEargument, no regex manager), theciheader states cost as well as saving, the.python-versionand consumer-pin checks stay, and the title is the one proposed on 2026-11-17.