ci(images): add git to the molecule-controller image #488
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Kamino#488
Reference in new issue
Block a user
Part of #419
Problem
#433's
selectjob runs in the molecule-controller image onkamino-docker. It needsgitfor two things: to check out the pull request, and to read the selector from the base branch. The selector'schanged_paths()also needs it forgit diff. The molecule-controller image has nogit, and no Node for a checkout action. Without git the selector selects every scenario, so the job would never skip anything.Proposal
Add
gitto the molecule-controller image's packages, pinned in the image the same way as its other distribution packages. Update the image's contents label anddocs/images/molecule-controller.md, which says the image has nogit. Add a self-check thatgit --versionruns. Merging publishes a new version, and the Renovate pin pull request then movesCONTROLLER_IMAGE. #433 builds on that pin.Acceptance criteria
git, and its final RUN checks thatgit --versionruns.docs/images/molecule-controller.mdlistgit.scripts/check_image_versions.py pinsand the script unit tests pass.image.ymlpublishes a new molecule-controller version.