PR 2 of the image loop for #121 and #123: moves the ci pins of lint.yml and build.yml from 0.2.15 to 0.2.17. Refs #112, #118.
What
Two lines, image: git.rkdr.net/mortis/ci:0.2.15@sha256:32b6… -> ci:0.2.17@sha256:54db5407f47635b58be16d2aedae403a34c3f75b58bdfe4c4f0bdaff6a85f4fe.
Where the digest comes from
The Images run on main for #123 built and pushed ci 0.2.17 and printed Pinned reference: git.rkdr.net/mortis/ci:0.2.17@sha256:54db…f4fe. I compared it with what the registry serves for the 0.2.17 tag (the Docker-Content-Digest of an anonymous manifest request): identical. 0.2.16 was never published, so there is no 0.2.16 pin to pass through.
What this PR exercises
Its own Lint and Build runs use the new image, with this repository's pin files matching the checksums baked into it (/opt/ci-pins.sha256 now lists three files). So this is the first run of the baked path for the whole change: the collections in /opt/collections found through ANSIBLE_COLLECTIONS_PATH, ansible-lint --offline with no mock list, and the ruff and shellcheck hook environments from the image's pre-commit cache. Nothing is installed at run time on this path, so a missing piece shows up as a failure, not as a slower job.
Verified
check_image_versions.py pins and bump origin/main pass.
check_bot_pr_diff.py accepts the diff as a renovate/ branch would be judged (2 files within the allowance), and every hook passed on the commit.
The built image's own smoke test passed all six hooks after the pruning, and its compressed layer sizes were printed in the build log (/opt/pre-commit 58.0 MB, /opt/python 62.0 MB, /opt/venv 44.2 MB, /opt/collections 3.0 MB, gzip -6 MiB).
Not verified
The baked path on a real Lint run: that is this PR's checks.
Renovate's pin-follow rule may open the same PR on its next run; if it does, close whichever is second.
PR 2 of the image loop for #121 and #123: moves the `ci` pins of `lint.yml` and `build.yml` from 0.2.15 to 0.2.17. Refs #112, #118.
## What
Two lines, `image: git.rkdr.net/mortis/ci:0.2.15@sha256:32b6…` -> `ci:0.2.17@sha256:54db5407f47635b58be16d2aedae403a34c3f75b58bdfe4c4f0bdaff6a85f4fe`.
## Where the digest comes from
The Images run on `main` for #123 built and pushed `ci` 0.2.17 and printed `Pinned reference: git.rkdr.net/mortis/ci:0.2.17@sha256:54db…f4fe`. I compared it with what the registry serves for the 0.2.17 tag (the `Docker-Content-Digest` of an anonymous manifest request): identical. 0.2.16 was never published, so there is no 0.2.16 pin to pass through.
## What this PR exercises
Its own Lint and Build runs use the new image, with this repository's pin files matching the checksums baked into it (`/opt/ci-pins.sha256` now lists three files). So this is the first run of the baked path for the whole change: the collections in `/opt/collections` found through `ANSIBLE_COLLECTIONS_PATH`, `ansible-lint --offline` with no mock list, and the ruff and shellcheck hook environments from the image's pre-commit cache. Nothing is installed at run time on this path, so a missing piece shows up as a failure, not as a slower job.
## Verified
- `check_image_versions.py pins` and `bump origin/main` pass.
- `check_bot_pr_diff.py` accepts the diff as a `renovate/` branch would be judged (2 files within the allowance), and every hook passed on the commit.
- The built image's own smoke test passed all six hooks after the pruning, and its compressed layer sizes were printed in the build log (`/opt/pre-commit` 58.0 MB, `/opt/python` 62.0 MB, `/opt/venv` 44.2 MB, `/opt/collections` 3.0 MB, gzip -6 MiB).
## Not verified
- The baked path on a real Lint run: that is this PR's checks.
- Renovate's pin-follow rule may open the same PR on its next run; if it does, close whichever is second.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Move the ci pins of lint.yml and build.yml to the image the Images run built on main for #123 (the digest is the one the build printed and the registry serves for the 0.2.17 tag). This is PR 2 of the loop for the ruff and shellcheck hooks and the baked collections (#112, #118): the pin files of this repository now match the checksums baked into the image, so Lint takes the baked tools and collections instead of installing them.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-11-14 15:32:40 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
PR 2 of the image loop for #121 and #123: moves the
cipins oflint.ymlandbuild.ymlfrom 0.2.15 to 0.2.17. Refs #112, #118.What
Two lines,
image: git.rkdr.net/mortis/ci:0.2.15@sha256:32b6…->ci:0.2.17@sha256:54db5407f47635b58be16d2aedae403a34c3f75b58bdfe4c4f0bdaff6a85f4fe.Where the digest comes from
The Images run on
mainfor #123 built and pushedci0.2.17 and printedPinned reference: git.rkdr.net/mortis/ci:0.2.17@sha256:54db…f4fe. I compared it with what the registry serves for the 0.2.17 tag (theDocker-Content-Digestof an anonymous manifest request): identical. 0.2.16 was never published, so there is no 0.2.16 pin to pass through.What this PR exercises
Its own Lint and Build runs use the new image, with this repository's pin files matching the checksums baked into it (
/opt/ci-pins.sha256now lists three files). So this is the first run of the baked path for the whole change: the collections in/opt/collectionsfound throughANSIBLE_COLLECTIONS_PATH,ansible-lint --offlinewith no mock list, and the ruff and shellcheck hook environments from the image's pre-commit cache. Nothing is installed at run time on this path, so a missing piece shows up as a failure, not as a slower job.Verified
check_image_versions.py pinsandbump origin/mainpass.check_bot_pr_diff.pyaccepts the diff as arenovate/branch would be judged (2 files within the allowance), and every hook passed on the commit./opt/pre-commit58.0 MB,/opt/python62.0 MB,/opt/venv44.2 MB,/opt/collections3.0 MB, gzip -6 MiB).Not verified
🤖 Generated with Claude Code
Claude referenced this pull request2026-11-14 15:41:42 +00:00