test(roles): run the Ubuntu roles on 24.04 and 26.04 and declare exactly those #381
1 Participants
Notifications
Due Date
No due date set.
Depends on
Reference: Mortis/Kamino#381
Reference in new issue
Block a user
What and why
Closes #133
A declared platform is one the role passes Molecule on in CI (#207, #257). Every role except
network_interfacesnow:${MOLECULE_IMAGE}(24.04) and${MOLECULE_IMAGE_2604}(26.04), including_binary_update/molecule/check_mode;nobleandresolute:jammyis dropped (sshd, system_baseline, systemd_hardening, ufw, user_management);trixiestays declared in sshd, system_baseline, systemd_hardening and user_management until #226 tests it.network_interfacesandsystem_baseline/tasks/tmux.ymlare untouched.Exceptions, per the issue's Notes ("a role that cannot pass on 26.04 yet keeps
nobleonly and gets its own issue"):noble(docker narrowed fromall): the 26.04 molecule image lacksgnupg, which both scenarios use on the target. Follow-up: #378. Recorded as an accepted exception inroles/AGENTS.md.resolute. It is unreleased, so its own fragment is updated instead of the 2604 fragment.Fragments:
breaking_changes:jammydropped in five roles; docker'sallnarrowed tonoble.minor_changes:resoluteadded to nine roles._binary_updateis internal and outside semver, so it is not named.Release note for the maintainer: 2.0.0 has already shipped, so these
breaking_changesmake the next release built from the fragments 3.0.0, not part of 2.0.0 as #257 decision 4 intended.Verified
pre-commit run --all-fileswith the dev environment fromscripts/dev-setup.sh. All hooks pass, including ansible-lint (schema[meta]acceptsresolute), yamllint, antsibull-changelog lint and REUSE.ansible-test sanity(pre-push hook) passed on push.scripts/run_molecule_scenarios.shremoves containers by every platform name inmolecule.yml, so two platforms per scenario are cleaned up.gnupg. No scenario now running on 26.04 callsgpgwithout installing it.Not verified
verify.ymlexpectssshd -Tto printpermitrootlogin without-password, and 26.04 ships OpenSSH 10.visudo -c/sudo -lassertions, since 26.04 defaults to sudo-rs.telnet, and its defaults include the transitionalapt-transport-https.dnsutilsandlighttpd-mod-deflatemay be missing from the resolute archive.nobleonly in this pull request, with its own issue, per #133's Notes.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.