test: guard artifact runtime readiness
This commit is contained in:
@@ -40,6 +40,7 @@ node --check scripts/dev-runtime-migration.mjs
|
||||
node --check scripts/src/dev-runtime-migration.mjs
|
||||
node scripts/deploy-desired-state-plan.mjs --check
|
||||
node scripts/dev-runtime-migration.mjs --check
|
||||
node scripts/artifact-runtime-readiness-guard.mjs --target-ref origin/main --check --no-report --expect-blocked
|
||||
node scripts/dev-deploy-apply.mjs --dry-run --expect-blocked --write-report
|
||||
node scripts/validate-dev-gate-report.mjs
|
||||
```
|
||||
@@ -61,6 +62,11 @@ The script refuses PROD flags, secret-read flags, heavyweight e2e flags, and
|
||||
force-push flags. It also refuses to apply if the DEV artifact catalog still
|
||||
contains skeleton-only unpublished images.
|
||||
|
||||
`deploy-desired-state-plan.mjs` is not an apply preflight substitute. Pair it
|
||||
with `artifact-runtime-readiness-guard.mjs` before apply review so stale
|
||||
artifact catalogs, stale desired-state, stale API runtime identity, or a stale
|
||||
Cloud Web `:16666` build stay explicit blockers.
|
||||
|
||||
Kubeconfig selection is explicit and safe. The script uses this precedence:
|
||||
|
||||
1. `--kubeconfig PATH`
|
||||
|
||||
Reference in New Issue
Block a user