ci(images): add git to the molecule-controller image #488

Closed
opened 2026-11-29 19:54:17 +00:00 by Claude · 0 comments
Owner

Part of #419

Problem

#433's select job runs in the molecule-controller image on kamino-docker. It needs git for two things: to check out the pull request, and to read the selector from the base branch. The selector's changed_paths() also needs it for git diff. The molecule-controller image has no git, and no Node for a checkout action. Without git the selector selects every scenario, so the job would never skip anything.

Proposal

Add git to the molecule-controller image's packages, pinned in the image the same way as its other distribution packages. Update the image's contents label and docs/images/molecule-controller.md, which says the image has no git. Add a self-check that git --version runs. Merging publishes a new version, and the Renovate pin pull request then moves CONTROLLER_IMAGE. #433 builds on that pin.

Acceptance criteria

  • The molecule-controller Dockerfile installs git, and its final RUN checks that git --version runs.
  • The contents label and docs/images/molecule-controller.md list git.
  • scripts/check_image_versions.py pins and the script unit tests pass.
  • After merge, image.yml publishes a new molecule-controller version.
Part of #419 ## Problem #433's `select` job runs in the molecule-controller image on `kamino-docker`. It needs `git` for two things: to check out the pull request, and to read the selector from the base branch. The selector's `changed_paths()` also needs it for `git diff`. The molecule-controller image has no `git`, and no Node for a checkout action. Without git the selector selects every scenario, so the job would never skip anything. ## Proposal Add `git` to the molecule-controller image's packages, pinned in the image the same way as its other distribution packages. Update the image's contents label and `docs/images/molecule-controller.md`, which says the image has no `git`. Add a self-check that `git --version` runs. Merging publishes a new version, and the Renovate pin pull request then moves `CONTROLLER_IMAGE`. #433 builds on that pin. ## Acceptance criteria - [ ] The molecule-controller Dockerfile installs `git`, and its final RUN checks that `git --version` runs. - [ ] The contents label and `docs/images/molecule-controller.md` list `git`. - [ ] `scripts/check_image_versions.py pins` and the script unit tests pass. - [ ] After merge, `image.yml` publishes a new molecule-controller version.
Claude added this to the CI velocity (emergency) milestone 2026-11-29 19:54:17 +00:00
Claude added the Kind/Enhancement
Status
Ready for Agent
labels 2026-11-29 19:54:17 +00:00
Claude added a new dependency 2026-11-29 19:54:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#488