docs(adr): point ADR 0002 to ADR 0003 and sharpen 0003
ADR 0002's image bullet now names ADR 0003 as the decision that adds Molecule's controller image; its decision is unchanged. ADR 0003 states the Lint-only share of ci pin pull requests as a count and lists the push paths of image.yml among the files the implementation updates. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
bf604a1af2
commit
04259751ad
2 files changed
+5
-3
No files matched your search
@@ -12,6 +12,7 @@ and pin updates. The choice is hard to undo once every workflow pins an image.
|
||||
|
||||
- **We build our own images:** a `ci` image, and one Dockerfile per molecule image (one per Ubuntu
|
||||
release, and later the Debian 13 one).
|
||||
Molecule's controller image is added by [ADR 0003](0003-molecule-controller-image.md).
|
||||
- **The molecule images bake in everything except what a role installs itself.** The test
|
||||
fixtures a scenario's `prepare.yml` needs are baked in. Packages a role installs are still
|
||||
downloaded, because that install path is what the test exercises. A converge is not kept off
|
||||
|
||||
@@ -8,8 +8,8 @@ Status: accepted
|
||||
tool, and Lint, Build and Molecule all pin it. A change to a tool only Lint uses (apm-cli,
|
||||
antsibull-changelog, a pre-commit hook environment) publishes a new `ci` version, and its pin
|
||||
pull request moves `CI_IMAGE` in `molecule.yml`. The scenario selector cannot tell what changed
|
||||
inside an image, so it runs every scenario. About half of the `ci` pin pull requests were
|
||||
Lint-only. Images are built only on push to `main`, so a bump and its pin never share a pull
|
||||
inside an image, so it runs every scenario. 9 of 18 `ci` pin pull requests over two weeks
|
||||
were Lint-only. Images are built only on push to `main`, so a bump and its pin never share a pull
|
||||
request.
|
||||
|
||||
## Decision
|
||||
@@ -39,7 +39,8 @@ bump of ansible-core or molecule there runs every scenario before it merges. Tod
|
||||
`requirements-dev.txt` and `requirements-dev.lock` are on IGNORED, so such a bump selects no
|
||||
scenario unless it edits `meta/runtime.yml`; this decision does not change that list.
|
||||
|
||||
The implementation updates: `image.yml` (matrix), `molecule.yml`,
|
||||
The implementation updates: `image.yml` (matrix, and its push `paths` unless the new files live
|
||||
under `images/`), `molecule.yml`,
|
||||
`scripts/run_molecule_in_ci_image.sh` (its pin comparison reads the `ci` image's checksums),
|
||||
`scripts/check_image_versions.py`, `scripts/check_bot_pr_diff.py` and
|
||||
`scripts/lock-requirements.sh` (they know only `requirements-dev.lock`), their tests, the
|
||||
|
||||
Reference in new issue
Block a user