ci(molecule): run Molecule in the molecule-controller image #487

Merged
Defame1297 merged 6 commits from ci/431-pin-molecule-controller into main 2026-12-01 22:23:41 +00:00
6 Commits
Author SHA1 Message Date
Defame1297 70adc0de29 Merge branch 'main' into ci/431-pin-molecule-controller
Build / build (pull_request) Successful in 39s
Lint / lint (pull_request) Successful in 3m32s
Molecule / molecule (pull_request) Successful in 36m15s
2026-12-01 21:46:31 +00:00
Defame1297 5fd5d63984 Merge branch 'main' into ci/431-pin-molecule-controller
Build / build (pull_request) Successful in 40s
Lint / lint (pull_request) Successful in 3m27s
Molecule / molecule (pull_request) Canceled after 19m49s
2026-12-01 21:23:38 +00:00
Defame1297 bdf2cd8e59 Merge branch 'main' into ci/431-pin-molecule-controller
Build / build (pull_request) Successful in 33s
Lint / lint (pull_request) Successful in 4m4s
Molecule / molecule (pull_request) Canceled after 9m7s
2026-12-01 20:09:19 +00:00
Defame1297 91cc633665 docs(molecule): say the profile callbacks come from the molecule-controller image
Build / build (pull_request) Successful in 1m11s
Lint / lint (pull_request) Successful in 5m7s
Molecule / molecule (pull_request) Successful in 52m5s
Assisted-by: Claude Code
2026-11-29 19:25:33 +00:00
Defame1297 4db1a2b3c9 docs: describe Molecule running in the molecule-controller image
The ci image's labels and doc, the consumer lists, the Molecule rules in
.gitea/workflows/AGENTS.md and the accepted risk on pin bumps in SECURITY.md said Molecule
runs in the ci image. They now name the molecule-controller image, its pin files and which
pin files select scenarios.

Closes #431

Assisted-by: Claude Code
2026-11-29 19:25:33 +00:00
Defame1297 89bd579e87 ci(molecule): run Molecule in the molecule-controller image
Molecule ran in the ci image, so a ci pin bump for a tool only Lint uses selected every
scenario (ADR 0003). The workflow now pins molecule-controller 0.1.0 by digest as
CONTROLLER_IMAGE, the hand-made first pin the ADR calls for.

- The run script checks /opt/molecule-pins.sha256 and installs requirements-molecule.lock
  when a pull request changed a pin file.
- The selector reads CONTROLLER_IMAGE: a controller pin change selects every scenario; a ci
  pin bump touches only lint.yml and build.yml, which are on IGNORED, so it selects none.
- Tests show requirements-molecule.* selects every scenario and requirements-dev.* none.
- Renovate's molecule.yml regex matches CONTROLLER_IMAGE.

Closes #434

Assisted-by: Claude Code
2026-11-29 19:25:33 +00:00