test(roles): run the Ubuntu roles on 24.04 and 26.04 and declare exactly those
Build / build (pull_request) Successful in 51s
Lint / lint (pull_request) Successful in 3m42s
Molecule / molecule (pull_request) Failing after 20m50s

Every role except network_interfaces runs its molecule scenarios on the
24.04 and 26.04 images and declares Ubuntu noble and resolute; jammy and
Ubuntu all are dropped. trixie stays declared until the Debian 13 image
(#226) tests it. docker and gitea stay on noble until the 26.04 image
ships gnupg (#378).

Closes #133

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-25 20:17:53 +00:00
1 parent 3bfc485076
commit 2e1ad033e4
43 files changed
+322 -98

No files matched your search

@@ -1,12 +1,12 @@
---
# Runs on the repository's own runner (label kamino-molecule), in the molecule-ubuntu2404 image
# (MOLECULE_IMAGE, the pin in .gitea/workflows/molecule.yml). No Cloudflare and no real
# cloudflared: prepare.yml starts a stub of the Cloudflare API on the controller's loopback
# (files/cloudflare_api_stub.py, reached through cloudflared_api_base_url; cleanup.yml stops it)
# and seeds a stub cloudflared binary that reports an older version, so the update downloads its
# new stub from local file:// URLs. The scenario downloads nothing. cloudflared_manage_dns is
# false here because community.general.cloudflare_dns cannot be pointed at the stub; the DNS
# guards in front of it are run with it true in verify.yml.
# Runs on the repository's own runner (label kamino-molecule), in the molecule-ubuntu2404
# (MOLECULE_IMAGE) and molecule-ubuntu2604 (MOLECULE_IMAGE_2604) images, pinned in
# .gitea/workflows/molecule.yml. No Cloudflare and no real cloudflared: prepare.yml starts a stub of
# the Cloudflare API on the controller's loopback (files/cloudflare_api_stub.py, reached through
# cloudflared_api_base_url; cleanup.yml stops it) and seeds a stub cloudflared binary that reports
# an older version, so the update downloads its new stub from local file:// URLs. The scenario
# downloads nothing. cloudflared_manage_dns is false here because community.general.cloudflare_dns
# cannot be pointed at the stub; the DNS guards in front of it are run with it true in verify.yml.
# The container runs systemd as PID 1 with a writable cgroup; no privileged mode.
driver:
name: docker
@@ -26,6 +26,21 @@ platforms:
- /run/lock
security_opts:
- apparmor=unconfined
- name: ${KAMINO_RUN_ID:-local}-cloudflared-2604-instance
labels:
net.rkdr.mortis.molecule-run: "${KAMINO_RUN_ID:-local}"
image: ${MOLECULE_IMAGE_2604}
pre_build_image: true
pull: true
command: /sbin/init
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
tmpfs:
- /run
- /run/lock
security_opts:
- apparmor=unconfined
provisioner:
name: ansible
# One source for every play, so a verify play that runs the role again renders the same