Files
Kamino/roles/gitea_runner/tasks/molecule.yml
T
Defame1297 2e32016c43 ci(molecule): run Molecule from the ci image instead of the runner's venv
Pin molecule and its Docker driver in requirements-dev.txt and bake them,
with the driver's collection, into the ci image. The Molecule job runs
docker run on the pinned ci image with the Docker socket and the checkout
mounted at the same path, as the runner user. A pull request whose pins
differ from the image installs its own pins first, so a core bump runs its
scenarios on the new core. gitea_runner no longer installs the molecule
venv and collections.

Closes #225

Assisted-by: Claude Code
2026-11-24 07:14:19 +00:00

13 lines
399 B
YAML

---
# A job on the host-executor label brings its toolchain in an image it runs on this host's
# Docker daemon; on the host itself it only clones the checkout and runs stdlib Python.
- name: Install the host packages of the host-executor label
become: true
ansible.builtin.apt:
name:
- git
- python3
state: present
cache_valid_time: 3600
tags: [gitea_runner, molecule]