feat(images): add gnupg to the 26.04 molecule image and test docker and gitea on 26.04 #378

Open
opened 2026-11-25 19:41:55 +00:00 by Claude · 0 comments
Owner

Problem

The platform rule (#133, spec #207) has every Ubuntu-targeting role declare noble and resolute and pass Molecule on both. docker and gitea cannot yet: images/molecule-ubuntu2604/Dockerfile does not install gnupg, which images/molecule-ubuntu2404/Dockerfile does, and both scenarios need it on the target:

  • roles/docker/molecule/default/prepare.yml builds a gpg-signed stub apt repository (files/build-stub-repo.sh calls gpg and gpgconf).
  • roles/gitea/molecule/default/verify.yml and the role's signature check (tasks/download.yml) call gpg.

So the #133 pull request leaves both roles on noble only, with a one-line README reason and an accepted exception in roles/AGENTS.md.

Proposal

  1. Add gnupg to the 26.04 molecule image (install list, contents label and reason comment, as in the 24.04 image), under the rules in images/AGENTS.md.
  2. Once the new image is pinned: add the ${MOLECULE_IMAGE_2604} platform to roles/docker/molecule/default/molecule.yml and roles/gitea/molecule/default/molecule.yml, declare resolute in both meta/main.yml, update both READMEs (Supported platforms, Tests), remove the docker/gitea exception from roles/AGENTS.md ("Declared means tested"), and add a minor_changes fragment.

Risk to check while doing it: the docker stub repository is signed with an rsa2048 key; apt on 26.04 verifies with Sequoia (sqv), whose policy may reject it. If so, change the test key (test-only).

Acceptance criteria

  • The 26.04 image ships gnupg; its image-smoke scenario passes.
  • docker and gitea declare exactly noble and resolute, and Molecule passes for both on both platforms.
  • roles/AGENTS.md no longer lists the docker/gitea exception.

Assisted-by: Claude Code

### Problem The platform rule (#133, spec #207) has every Ubuntu-targeting role declare `noble` and `resolute` and pass Molecule on both. `docker` and `gitea` cannot yet: `images/molecule-ubuntu2604/Dockerfile` does not install `gnupg`, which `images/molecule-ubuntu2404/Dockerfile` does, and both scenarios need it on the target: - `roles/docker/molecule/default/prepare.yml` builds a gpg-signed stub apt repository (`files/build-stub-repo.sh` calls `gpg` and `gpgconf`). - `roles/gitea/molecule/default/verify.yml` and the role's signature check (`tasks/download.yml`) call `gpg`. So the #133 pull request leaves both roles on `noble` only, with a one-line README reason and an accepted exception in `roles/AGENTS.md`. ### Proposal 1. Add `gnupg` to the 26.04 molecule image (install list, contents label and reason comment, as in the 24.04 image), under the rules in `images/AGENTS.md`. 2. Once the new image is pinned: add the `${MOLECULE_IMAGE_2604}` platform to `roles/docker/molecule/default/molecule.yml` and `roles/gitea/molecule/default/molecule.yml`, declare `resolute` in both `meta/main.yml`, update both READMEs (Supported platforms, Tests), remove the docker/gitea exception from `roles/AGENTS.md` ("Declared means tested"), and add a `minor_changes` fragment. Risk to check while doing it: the docker stub repository is signed with an `rsa2048` key; apt on 26.04 verifies with Sequoia (`sqv`), whose policy may reject it. If so, change the test key (test-only). ### Acceptance criteria - The 26.04 image ships `gnupg`; its image-smoke scenario passes. - `docker` and `gitea` declare exactly `noble` and `resolute`, and Molecule passes for both on both platforms. - `roles/AGENTS.md` no longer lists the docker/gitea exception. Assisted-by: Claude Code
Claude added this to the Continuous delivery milestone 2026-11-25 19:41:55 +00:00
Claude added the
Status
Needs Triage
label 2026-11-25 19:41:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#378