Files
Kamino/extensions/molecule/image-smoke-2604/molecule.yml
T
Defame1297andClaude Sonnet 5.5 b27513f0bd
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 12s
Molecule / molecule (pull_request) Successful in 1m2s
feat(molecule): test the 26.04 image and move the 24.04 pin to 0.1.2
Adds the image-smoke-2604 scenario (asserts Ubuntu 26.04) and the MOLECULE_IMAGE_2604 pin
(molecule-ubuntu2604 0.1.0, the digest its first build printed, run 2534). Moves
MOLECULE_IMAGE to molecule-ubuntu2404 0.1.2 (digest printed by run 2541): the 0.1.1 image
is Ubuntu 26.04, so image-smoke has failed on main since the base bump. The Renovate
pattern for the multi-line pin now also reads MOLECULE_IMAGE_<release>.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 19:16:51 +00:00

28 lines
770 B
YAML

---
# Tests the molecule test image itself (images/molecule-ubuntu2604): the contract the
# role scenarios rely on. Same instance settings as a role scenario: systemd needs a
# writable cgroup, the firewall tools need NET_ADMIN, nothing is privileged. The image
# comes from the environment (MOLECULE_IMAGE_2604, set by .gitea/workflows/molecule.yml).
driver:
name: docker
platforms:
- name: image-smoke-2604
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
verifier:
name: ansible