ci(molecule): use molecule-ubuntu2404 0.1.6 and drop the docker prepare gnupg task #120

Merged
Defame1297 merged 1 commits from ci/molecule-image-pin-0.1.6 into main 2026-11-14 12:56:52 +00:00
Owner

What

The pin follow-up of #119 (the repo's two-PR loop for an image input). The build on main published molecule-ubuntu2404:0.1.6; this moves the one MOLECULE_IMAGE pin to it, to the digest the build printed:

0.1.6@sha256:f1bf4d208aa8f1626f797348a120541af3d4445cb2da0b948d94425df1741909

(Correction to #119's text: this image has a single pin, in .gitea/workflows/molecule.yml, not three; lint.yml and build.yml pin the separate ci image.)

With the pin:

  • the gnupg install, with its apt update, is removed from the docker scenario's prepare.yml (about 10 s of its 12 s). The role runs its own update_cache at install (tasks/install.yml), so nothing relied on that update;
  • gnupg is added to the image-smoke contract (extensions/molecule/image-smoke/verify.yml), so the image keeps providing it;
  • the docker README no longer lists gnupg among what the scenario needs the Ubuntu mirrors for, with a trivial changelog fragment.

Verified

  • scripts/check_image_versions.py pins and bump origin/main pass.
  • actionlint, yamllint, ansible-lint (production profile) over the roles and extensions, antsibull-changelog lint, the script tests (152) and the commit hooks pass.
  • The digest is copied from the build's own "Pinned reference" line (run 3761, job 4373), and that build pushed both 0.1.6 and latest.

Not verified

  • Nothing has run against 0.1.6 yet. This pull request changes molecule.yml, so its Molecule run tests all 7 scenarios against the new image and is the first to do so: check that docker passes without the gnupg task, that system_baseline still passes with gnupg preinstalled (it no longer exercises that one package's install; its other packages are still installed), and that image-smoke accepts gnupg in the contract.
  • Expected saving is small, about 10 to 15 s per full run, most of it in docker; compare the scenario timings with the last full run on main (run 3751: docker 75 s, system_baseline 96 s).
  • image-smoke-2604 and the 26.04 image are unchanged.

🤖 Generated with Claude Code

## What The pin follow-up of #119 (the repo's two-PR loop for an image input). The build on `main` published `molecule-ubuntu2404:0.1.6`; this moves the one `MOLECULE_IMAGE` pin to it, to the digest the build printed: `0.1.6@sha256:f1bf4d208aa8f1626f797348a120541af3d4445cb2da0b948d94425df1741909` (Correction to #119's text: this image has a single pin, in `.gitea/workflows/molecule.yml`, not three; `lint.yml` and `build.yml` pin the separate `ci` image.) With the pin: - the `gnupg` install, with its `apt update`, is removed from the `docker` scenario's `prepare.yml` (about 10 s of its 12 s). The role runs its own `update_cache` at install (`tasks/install.yml`), so nothing relied on that update; - `gnupg` is added to the image-smoke contract (`extensions/molecule/image-smoke/verify.yml`), so the image keeps providing it; - the `docker` README no longer lists `gnupg` among what the scenario needs the Ubuntu mirrors for, with a `trivial` changelog fragment. ## Verified - `scripts/check_image_versions.py pins` and `bump origin/main` pass. - `actionlint`, `yamllint`, `ansible-lint` (production profile) over the roles and extensions, `antsibull-changelog lint`, the script tests (152) and the commit hooks pass. - The digest is copied from the build's own "Pinned reference" line (run 3761, job 4373), and that build pushed both `0.1.6` and `latest`. ## Not verified - Nothing has run against 0.1.6 yet. This pull request changes `molecule.yml`, so its Molecule run tests all 7 scenarios against the new image and is the first to do so: check that `docker` passes without the `gnupg` task, that `system_baseline` still passes with `gnupg` preinstalled (it no longer exercises that one package's install; its other packages are still installed), and that `image-smoke` accepts `gnupg` in the contract. - Expected saving is small, about 10 to 15 s per full run, most of it in `docker`; compare the scenario timings with the last full run on `main` (run 3751: `docker` 75 s, `system_baseline` 96 s). - `image-smoke-2604` and the 26.04 image are unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-11-14 12:50:06 +00:00
ci(molecule): use molecule-ubuntu2404 0.1.6 and drop the docker prepare gnupg task
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 20s
Molecule / molecule (pull_request) Successful in 6m7s
db4ba8d5c8
Moves the MOLECULE_IMAGE pin to 0.1.6, the build of #119 that carries gnupg, and
with it:

- removes the gnupg install (and its apt update) from the docker scenario's
  prepare, about 10 s of its 12 s; the role refreshes its own apt cache at
  install, so nothing relied on that update;
- adds gnupg to the image-smoke contract, so the image keeps providing it;
- drops gnupg from the docker README's list of what the scenario needs the
  Ubuntu mirrors for, with a trivial changelog fragment.

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 12:50:52 +00:00
Defame1297 merged commit e4c9be903d into main 2026-11-14 12:56:52 +00:00
Defame1297 deleted branch ci/molecule-image-pin-0.1.6 2026-11-14 12:56:53 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#120