ci(images): build and publish the molecule-controller image #484
Open
Claude
wants to merge 6 commits from
ci/477-molecule-controller-image into main
pull from: ci/477-molecule-controller-image
merge into: Mortis:main
Mortis:main
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Needs Triage
Maintainer needs to evaluate this issue
Status
Ready for Agent
Fully specified, ready for an AFK agent
Status
Ready for Human
Requires human implementation
Wayfinder
Grilling
Decision ticket resolved in conversation with the maintainer
Wayfinder
Map
Wayfinder map: index of a planning effort and its decision tickets
Wayfinder
Prototype
Decision ticket resolved by reacting to a rough concrete artifact
Wayfinder
Research
Decision ticket resolved by reading outside sources
Wayfinder
Task
Manual work that must happen before a decision can be made
No labels
Milestone
No items
No Milestone
CI velocity (emergency)
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Kamino#484
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
Closes #477
This is the first half of ADR 0003. It adds the
molecule-controllerimage and its inputs, but Molecule does not use the image yet; #431 pins it once the first build has been published from main.The image
images/molecule-controller/Dockerfileis modelled on the ci image. It holds the venv with molecule and the collections the scenarios need, and writes its own pins checksum file.Requirements and locks
requirements-molecule.txtand the hash-pinnedrequirements-molecule.locksit at the root.scripts/lock-requirements.shnow takes the requirements file as an argument. With no argument it behaves as before.Workflows and scripts
image.ymlgains the matrix entry and the push paths.scripts/check_image_versions.pynow knows the new image and lock, and checks that ansible-core is equal across the two locks.scripts/check_bot_pr_diff.pyallows the new pin files.scripts/next_image_version.pytreats a 404 on the firsttags/listpage as "no tags", so a repository that has never been pushed gets<base>.0instead of failing the version step. A 404 on a manifest, or a 401 or 403, still fails.Renovate and packaging
galaxy.ymlbuild_ignorecovers the new files.Docs
docs/images/molecule-controller.mdis new.images/AGENTS.mdrecords why this image has no image-smoke scenario.The ci image keeps molecule. proxmoxer is left out: the only
community.proxmoxtask is skipped in thepve_lxcscenario.Verified
python -m unittest discover -s tests/scripts: 316 tests pass. They include new tests forlock-requirements.sh, the ansible-core equality check and the tags/list 404.pre-commit run --all-filespasses.scripts/check_image_versions.py pinspasses.renovate-config-validator --strictat 44.161.0 passes. A fullrenovate --platform=localfound the new file and pins, then stopped on an unsupported-Node-version error, so that run was not clean.Not verified
image.ymlafter merge to main.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.