ci(molecule): use molecule-ubuntu2404 0.1.6 and drop the docker prepare gnupg task
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
This commit is contained in:
1 parent
f7f5b7adf9
commit
db4ba8d5c8
5 files changed
+9
-10
No files matched your search
@@ -3,20 +3,15 @@
|
||||
# bridge, iptables and a delegated cgroup), so the role installs stand-in packages from a
|
||||
# local APT repository. The repository is built and signed here, with a throwaway key, so the
|
||||
# role's own tasks run unchanged: fetch the key, write the source line, install, enable and
|
||||
# start the unit, join the group. Like the pihole and system_baseline scenarios, this needs
|
||||
# the Ubuntu mirrors for gnupg and for the curl the role installs.
|
||||
# start the unit, join the group. gnupg, which signs the repository, is part of the molecule
|
||||
# image. Like the pihole and system_baseline scenarios, this needs the Ubuntu mirrors for the
|
||||
# curl the role installs.
|
||||
- name: Prepare
|
||||
hosts: all
|
||||
vars:
|
||||
docker_molecule_repo: /srv/docker-stub-repo
|
||||
docker_molecule_work: /var/tmp/docker-stub-work
|
||||
tasks:
|
||||
- name: Install gnupg, which signs the stand-in repository
|
||||
ansible.builtin.apt:
|
||||
name: gnupg
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Copy the repository builder
|
||||
ansible.builtin.copy:
|
||||
src: build-stub-repo.sh
|
||||
|
||||
Reference in new issue
Block a user