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
14 lines
1.1 KiB
YAML
14 lines
1.1 KiB
YAML
---
|
|
breaking_changes:
|
|
- >-
|
|
gitea_runner - With ``gitea_runner_molecule_enabled`` the role no longer installs molecule tooling or collections: a job on
|
|
the ``<gitea_runner_molecule_label>:host`` label brings its own toolchain in an image and runs it on the host's Docker
|
|
daemon. The role still registers that label and now installs only ``git`` and ``python3`` on the host, which the job uses
|
|
there, and no longer needs PyPI or Ansible Galaxy access. The inputs ``gitea_runner_molecule_venv``,
|
|
``gitea_runner_molecule_collections_path``, ``gitea_runner_collections_requirements_file``,
|
|
``gitea_runner_molecule_version``, ``gitea_runner_molecule_plugins_version``,
|
|
``gitea_runner_molecule_ansible_core_version`` and ``gitea_runner_molecule_docker_sdk_version`` are removed; a value set
|
|
in the inventory is ignored. The role does not delete a venv or collections directory an earlier version installed:
|
|
remove ``/opt/molecule-venv``, ``/opt/molecule-collections`` (the old defaults) and
|
|
``<gitea_runner_home>/molecule-requirements.yml`` by hand if nothing else uses them.
|