feat(1d): G0 — generic install + deploy-once orchestrator (DG1 green on hedgedoc)
- harness/generic.py: recipe-agnostic assert_serving (converged + real HTTP, 404-excluded + not Traefik 404 body + CA-verified trusted wildcard cert), op helpers, backup_capable detect - harness/discovery.py: per-op overlay resolution (repo-local > cc-ci > generic), custom + hook - tests/_generic/: assertion-only tiers (install/upgrade/backup/restore) on the shared deployment - run_recipe_ci.py: deploy-ONCE orchestrator, per-op summary, deploy-count guard (DG4.1) - conftest live_app fixture; lifecycle deploy-count + install-steps hook + pin DOMAIN to run domain DG1 cold-verified green on hedgedoc (pure generic, deploy-count=1, clean teardown). G0 CLAIMED. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -2,18 +2,19 @@
|
||||
|
||||
## Build backlog (Builder-only)
|
||||
|
||||
### G0 — Generic install + deploy-once orchestrator (DG1)
|
||||
- [ ] `runner/harness/generic.py`: generic assertion helpers (`assert_serving` — real HTTP, not
|
||||
Traefik fallback/default cert) + op helpers (`do_upgrade`, `do_backup`, `do_restore`) +
|
||||
### G0 — Generic install + deploy-once orchestrator (DG1) — CLAIMED, awaiting Adversary
|
||||
- [x] `runner/harness/generic.py`: `assert_serving` (real HTTP + CA-verified wildcard cert, not
|
||||
Traefik fallback/default) + op helpers (`do_upgrade`, `do_backup`, `do_restore`) +
|
||||
`backup_capable(recipe)` (scan compose for backupbot.backup).
|
||||
- [ ] `runner/harness/discovery.py`: per-op overlay resolution (repo-local > cc-ci > generic),
|
||||
- [x] `runner/harness/discovery.py`: per-op overlay resolution (repo-local > cc-ci > generic),
|
||||
custom-test discovery (both locations, additive), install-steps hook discovery.
|
||||
- [ ] `tests/_generic/`: assertion-only generic tier files (test_install/upgrade/backup/restore.py).
|
||||
- [ ] Refactor `run_recipe_ci.py` → deploy-once: deploy base version once, run tiers in order against
|
||||
the shared deployment, one teardown in finally; per-op result summary.
|
||||
- [ ] Refactor `tests/conftest.py` fixtures to expose the shared live deployment (no per-tier deploy).
|
||||
- [ ] Deploy-count guard (`CCCI_DEPLOY_COUNT`) in `lifecycle.deploy_app`; assert ==1 per run.
|
||||
- [ ] Prove generic install green on custom-html-tiny (no cc-ci/repo-local tests). → claim G0.
|
||||
- [x] `tests/_generic/`: assertion-only generic tier files (test_install/upgrade/backup/restore.py).
|
||||
- [x] Refactor `run_recipe_ci.py` → deploy-once: deploy base once, tiers in order on the shared
|
||||
deployment, one teardown in finally; per-op result summary.
|
||||
- [x] `tests/conftest.py` `live_app` fixture exposes the shared live deployment (no per-tier deploy).
|
||||
- [x] Deploy-count guard (`CCCI_DEPLOY_COUNT_FILE`) in `lifecycle.deploy_app`; orchestrator asserts ==1.
|
||||
- [x] Generic install green on **hedgedoc** (no cc-ci/repo-local tests, deploy-count=1, clean
|
||||
teardown). custom-html-tiny rejected (empty static volume → 404 zero-config). → G0 CLAIMED.
|
||||
|
||||
### G1 — Generic upgrade + backup/restore (DG2, DG3)
|
||||
- [ ] Generic upgrade tier: previous→target in place; reconverge + serving.
|
||||
|
||||
Reference in New Issue
Block a user