image.yml: when the version tag of an image is already in the registry, the job ends without building. A new version is pushed as <version> and latest. The sha-* tag is gone.
build.yml + tests/sanity/ignore-common.txt (renamed from ignore-2.19.txt, same 4 lines): the Build job copies the common list to ignore-<core MAJOR.MINOR>.txt in its throwaway worktree before ansible-test sanity; a committed ignore-<MAJOR.MINOR>.txt is appended for findings of one version only.
CLAUDE.md and the two renovate.json rule descriptions no longer say a new core minor needs a new ignore file.
Why
After the merge of Renovate PR #26 the molecule job rebuilt under its unchanged version 0.1.0 and moved sha-*/latest, giving one version tag a second digest. The Lint bump check already forces a new version whenever an image input changes, so a rebuild under a published version only ever happens when no input changed.
ansible-test has no wildcard for ignore-<version>.txt. Renovate PR #25 (ansible-core 2.21.5) fails only no-smart-quotes on the license files, which the 2.19 list already skips. Renovate cannot add a file to its own branch (a hand commit stops its rebases), and closing the PR would stop it being recreated.
Behaviour to know
A published version is neither moved nor rebuilt: any real image change needs a version bump (Lint already enforces it).
The prepare step still installs the tools before it looks the tag up (that order is deliberate: pristine base filesystem), so a skipped job costs about a minute, not a build.
latest moves only when a new version is published.
ansible-core minor/major bumps stay manual by policy; a new core can still bring genuinely new sanity findings, which still fail Build.
Verified
123 script tests pass; the commit hooks (actionlint with the repo config, yamllint, REUSE etc.) pass.
The ignore-file copy was run by hand in a scratch directory (4 lines in, 4 lines out).
Not verified
The Build step on a real runner: this PR's own Build run exercises it on the current core (2.19). PR #25 rebased on this is the 2.21 test.
The skip path of image.yml: it runs on the push to main after the merge (both images' versions are already published, so both jobs should end with "already published; nothing to build").
## What
1. `image.yml`: when the version tag of an image is already in the registry, the job ends without building. A new version is pushed as `<version>` and `latest`. The `sha-*` tag is gone.
2. `build.yml` + `tests/sanity/ignore-common.txt` (renamed from `ignore-2.19.txt`, same 4 lines): the Build job copies the common list to `ignore-<core MAJOR.MINOR>.txt` in its throwaway worktree before `ansible-test sanity`; a committed `ignore-<MAJOR.MINOR>.txt` is appended for findings of one version only.
3. `CLAUDE.md` and the two `renovate.json` rule descriptions no longer say a new core minor needs a new ignore file.
## Why
1. After the merge of Renovate PR #26 the molecule job rebuilt under its unchanged version `0.1.0` and moved `sha-*`/`latest`, giving one version tag a second digest. The Lint `bump` check already forces a new version whenever an image input changes, so a rebuild under a published version only ever happens when no input changed.
2. `ansible-test` has no wildcard for `ignore-<version>.txt`. Renovate PR #25 (ansible-core 2.21.5) fails only `no-smart-quotes` on the license files, which the 2.19 list already skips. Renovate cannot add a file to its own branch (a hand commit stops its rebases), and closing the PR would stop it being recreated.
## Behaviour to know
- A published version is neither moved nor rebuilt: any real image change needs a version bump (Lint already enforces it).
- The prepare step still installs the tools before it looks the tag up (that order is deliberate: pristine base filesystem), so a skipped job costs about a minute, not a build.
- `latest` moves only when a new version is published.
- ansible-core minor/major bumps stay manual by policy; a new core can still bring genuinely new sanity findings, which still fail Build.
## Verified
- 123 script tests pass; the commit hooks (actionlint with the repo config, yamllint, REUSE etc.) pass.
- The ignore-file copy was run by hand in a scratch directory (4 lines in, 4 lines out).
## Not verified
- The Build step on a real runner: this PR's own Build run exercises it on the current core (2.19). PR #25 rebased on this is the 2.21 test.
- The skip path of `image.yml`: it runs on the push to `main` after the merge (both images' versions are already published, so both jobs should end with "already published; nothing to build").
🤖 Generated with [Claude Code](https://claude.com/claude-code)
image.yml: when the version tag is already in the registry the job now ends
without building, instead of rebuilding under sha-* and latest. A new version
is pushed as <version> and latest; the sha-* tag is gone, so one digest
belongs to exactly one version.
build.yml: ansible-test reads tests/sanity/ignore-<core MAJOR.MINOR>.txt, so
every core bump needed a new file. The committed list is now
ignore-common.txt, copied to the installed core's file name inside the
throwaway worktree (a committed ignore-<MAJOR.MINOR>.txt is appended).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
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.
What
image.yml: when the version tag of an image is already in the registry, the job ends without building. A new version is pushed as<version>andlatest. Thesha-*tag is gone.build.yml+tests/sanity/ignore-common.txt(renamed fromignore-2.19.txt, same 4 lines): the Build job copies the common list toignore-<core MAJOR.MINOR>.txtin its throwaway worktree beforeansible-test sanity; a committedignore-<MAJOR.MINOR>.txtis appended for findings of one version only.CLAUDE.mdand the tworenovate.jsonrule descriptions no longer say a new core minor needs a new ignore file.Why
0.1.0and movedsha-*/latest, giving one version tag a second digest. The Lintbumpcheck already forces a new version whenever an image input changes, so a rebuild under a published version only ever happens when no input changed.ansible-testhas no wildcard forignore-<version>.txt. Renovate PR #25 (ansible-core 2.21.5) fails onlyno-smart-quoteson the license files, which the 2.19 list already skips. Renovate cannot add a file to its own branch (a hand commit stops its rebases), and closing the PR would stop it being recreated.Behaviour to know
latestmoves only when a new version is published.Verified
Not verified
image.yml: it runs on the push tomainafter the merge (both images' versions are already published, so both jobs should end with "already published; nothing to build").🤖 Generated with Claude Code