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,10 +1,10 @@
---
# Runs on the repository's own runner (label kamino-molecule), in the molecule-ubuntu2404 image
# (MOLECULE_IMAGE, the pin in .gitea/workflows/molecule.yml). Unlike the other scenarios
# this one installs packages (the role's system_baseline_essential_packages list) from the Ubuntu
# mirrors during prepare and converge, so the runner needs outbound network. No
# privileged mode: systemd needs a writable cgroup and the firewall tools need
# NET_ADMIN, nothing else.
# 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. Unlike the other scenarios this one installs packages (the
# role's system_baseline_essential_packages list) from the Ubuntu mirrors during prepare and
# converge, so the runner needs outbound network. No privileged mode: systemd needs a writable
# cgroup and the firewall tools need NET_ADMIN, nothing else.
driver:
name: docker
platforms:
@@ -25,6 +25,23 @@ platforms:
- NET_ADMIN
security_opts:
- apparmor=unconfined
- name: ${KAMINO_RUN_ID:-local}-system-baseline-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
capabilities:
- NET_ADMIN
security_opts:
- apparmor=unconfined
provisioner:
name: ansible
options: