All checks were successful
CI / verify (push) Successful in 2m33s
Add canonical operations/security/access/feature docs and fix path integrity to improve onboarding and incident readiness.
2.0 KiB
2.0 KiB
Deployment
This document defines the canonical CBDDC deployment workflow, validation gates, and rollback procedures.
Environments
- Local development: single node for functional verification.
- Staging: multi-node mesh or hosted mode with production-like configuration.
- Production: controlled rollout with health checks, monitoring, and rollback readiness.
Promotion Workflow
- Build and test in CI (
dotnet build,dotnet test). - Validate configuration and secrets for the target environment.
- Deploy to staging.
- Run smoke checks:
- Node starts and joins expected peers.
/healthreports healthy.- Sync operations replicate across target collections.
- Promote to production using approved change window.
Validation Gates
- No failed test suites.
- No unresolved critical incidents.
- Health check status is healthy or approved degraded state with mitigation.
- Backup/restore path confirmed for the active persistence provider.
Rollback Triggers
Rollback immediately when any of the following occurs:
- Sync correctness regression (missed or duplicate replication events).
- Persistent unhealthy status after remediation attempt.
- Authentication or connectivity failure across required peers.
- Data integrity concern reported by validation checks.
Rollback Procedure
- Stop traffic or disable rollout to newly deployed nodes.
- Revert to the last known-good build.
- Restore previous configuration and secret set.
- If needed, restore persistence snapshot/backup.
- Re-run health and replication smoke checks.
- Record incident details in the runbook timeline.
Emergency Changes
Use emergency deployment only for incident containment:
- Capture incident reference and approver.
- Apply minimal scoped change.
- Run abbreviated smoke checks (startup, health, critical replication path).
- Follow up with standard post-incident review.