docs(adr): record self-built CI and molecule images, versioned by CI, pinned by version and digest
ADR 0002 records the decision with its measured saving and build cost. The two risks it leaves (no Molecule run after a merge, and pin bumps first behaviour-tested after they merge) go to the Accepted risks register in SECURITY.md, as docs/adr/AGENTS.md requires. Closes #167 Assisted-by: Claude Code
This commit is contained in:
1 parent
9c415ee347
commit
288cea47a9
2 files changed
+74
No files matched your search
+23
@@ -98,3 +98,26 @@ reduction. A later decision that accepts a risk adds an entry here.
|
||||
already reaches every secret. There is no `renovate/*` push allowlist.
|
||||
- **Trigger:** a token that can push here but cannot reach the secrets.
|
||||
- **Planned reduction:** none for now.
|
||||
|
||||
### No Molecule run after a merge
|
||||
|
||||
- **Risk:** Molecule does not run on push to `main`
|
||||
([ADR 0002](docs/adr/0002-self-built-ci-and-molecule-images.md)). Only the nightly full run
|
||||
catches drift outside the tree (mirrors, images) or a scenario-selection mistake, and it is
|
||||
the only run of the scenarios a pull request's diff did not select.
|
||||
- **Why accepted:** "block on outdated branch" is on, so `main` only ever receives the tree its
|
||||
pull request tested; no Molecule run on `main` has failed after its pull request passed.
|
||||
- **Trigger:** a nightly run fails on a tree whose pull request passed.
|
||||
- **Planned reduction:** none for now.
|
||||
|
||||
### Pin bumps first behaviour-tested after they merge
|
||||
|
||||
- **Risk:** Lint, Build and Molecule install a pull request's pins when they differ from the
|
||||
image, so an image-input pull request is tested on its own pins. But a pin bump that selects
|
||||
no Molecule scenario (every Python pin except an ansible-core minor bump, which edits
|
||||
`meta/runtime.yml`) is first behaviour-tested by the `ci` pin pull request, after it has
|
||||
merged.
|
||||
- **Why accepted:** the `ci` pin pull request runs every scenario before the new image is used,
|
||||
and running every scenario on every Python pin bump would cost about 10 minutes each.
|
||||
- **Trigger:** a `ci` pin pull request fails Molecule because of a bumped pin.
|
||||
- **Planned reduction:** none for now.
|
||||
Reference in new issue
Block a user