feat(molecule): test the 26.04 image and move the 24.04 pin to 0.1.2
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 12s
Molecule / molecule (pull_request) Successful in 1m2s

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
This commit is contained in:
Defame1297andClaude Sonnet 5.5 committed 2026-10-26 19:16:51 +00:00
1 parent e389cfa10d
commit b27513f0bd
6 files changed
+104 -7

No files matched your search

+8 -4
View File
@@ -1,8 +1,8 @@
name: Molecule
# Behavioural tests of the Collection: every molecule scenario under
# extensions/molecule/*/ and roles/*/molecule/*/. extensions/molecule/image-smoke
# tests the test image itself, so it runs even before any role exists.
# extensions/molecule/*/ and roles/*/molecule/*/. extensions/molecule/image-smoke and
# image-smoke-2604 test the test images themselves, so they run even before any role exists.
#
# It runs on the `kamino-molecule` label, a host executor on kamino-runner, which uses
# that LXC's own Docker daemon; no job container is given the Docker socket. That makes
@@ -16,7 +16,7 @@ name: Molecule
# Tooling is provisioned on the runner by the gitea_runner role (molecule venv and the
# collections the roles use); this job installs nothing. The test image is pulled from
# the registry by tag and digest (the digest is what is enforced). Bump both here when
# image.yml publishes a new molecule-ubuntu2404 version.
# image.yml publishes a new molecule-ubuntu2404 or molecule-ubuntu2604 version.
on: # yamllint disable-line rule:truthy
pull_request:
branches:
@@ -64,7 +64,11 @@ jobs:
# Used by the scenarios as `image: ${MOLECULE_IMAGE}`; set it the same way to run
# one locally.
MOLECULE_IMAGE: >-
git.rkdr.net/mortis/molecule-ubuntu2404:0.1.1@sha256:c8b22948fdb741de292a7af8a298600b5090cd9df163b3bb44adf01615161f94
git.rkdr.net/mortis/molecule-ubuntu2404:0.1.2@sha256:206bff48aa0af74da388f5a030d74da86876037a18dc5572c1f141ce0cf801d3
# The same for Ubuntu 26.04, the release the hosts are moving to; used by
# `image: ${MOLECULE_IMAGE_2604}` in extensions/molecule/image-smoke-2604.
MOLECULE_IMAGE_2604: >-
git.rkdr.net/mortis/molecule-ubuntu2604:0.1.0@sha256:b46550ae60543b722217813a1b1d1b072793019ef3fceec9c2a3cc90c3cd1bd4
steps:
# Provisioned by the gitea_runner role (install_services); fail with a clear
# message when this runs before it has.