ci(molecule): run the in-image step from a tested script and list the fifth pin file
Assisted-by: Claude Code
This commit is contained in:
1 parent
2e32016c43
commit
8c52c91dfd
8 files changed
+215
-46
No files matched your search
@@ -58,6 +58,11 @@ jobs:
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
```
|
||||
|
||||
The Molecule job runs on the `kamino-molecule` runner, a host executor, so it starts the image itself with
|
||||
`docker run`, as the runner user, with the Docker socket and the checkout mounted at the same path (molecule
|
||||
hands the daemon paths in the checkout); `scripts/run_molecule_in_ci_image.sh` does the same pin check inside it.
|
||||
Read `.gitea/workflows/molecule.yml` for the full command.
|
||||
|
||||
`/opt/ci-pins.sha256` lists the five pin files by their checkout-relative path, so `sha256sum -c` runs in the checkout root. When
|
||||
the checkout's `requirements-dev.txt`, `requirements-dev.lock`, `requirements.yml`, `extensions/molecule/requirements.yml` and `.pre-commit-config.yaml` match, the baked tools and
|
||||
collections are used as they are. When a pull request changes a pin the check fails and the job installs the pinned
|
||||
|
||||
Reference in new issue
Block a user