feat: add production deployment handoff controls
This commit is contained in:
@@ -117,7 +117,6 @@ npm run console:build # backend tsc + frontend typecheck/vite build
|
||||
|
||||
## Production-Like Smoke
|
||||
```bash
|
||||
docker compose -f docker-compose.control-panel.yml config
|
||||
bash packages/casan-control-panel/scripts/local-prod-smoke.sh
|
||||
```
|
||||
|
||||
@@ -131,12 +130,13 @@ asserts the Command Center returns all nine widgets with provenance envelopes an
|
||||
therefore emits both `CP_LOCAL_SMOKE_PASS ...` and
|
||||
`CP_MANAGED_SMOKE_PASS actor=oidc-ops role=org-admin widgets=9`.
|
||||
|
||||
Managed production readiness, once the host has real TLS files and an enterprise OIDC
|
||||
env file:
|
||||
Managed production readiness is intentionally a stronger, fail-closed contract: it
|
||||
requires a DNS-matching TLS certificate, enterprise OIDC, non-dev Vault Transit,
|
||||
an actual S3 Object Lock COMPLIANCE write, and CI-attested digest-pinned images.
|
||||
Follow [the Linux handoff guide](../../infra/production/README.md), then run:
|
||||
|
||||
```bash
|
||||
CASAN_CP_TLS_DIR=/opt/casan-control-panel/tls \
|
||||
CASAN_CP_OAUTH_ENV=/opt/casan-control-panel/oauth2-proxy.env \
|
||||
CASAN_CP_PROD_ENV=infra/production/casan-prod.env \
|
||||
bash packages/casan-control-panel/scripts/prod-readiness-check.sh
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user