1.9 KiB
1.9 KiB
Deployment
Scope
This workflow covers releasing CBDD as an internal package and promoting a validated version for downstream consumers.
Promotion Path
- Development validation on feature branch.
- Merge to
mainafter required quality gates. - Tag release and publish package artifact.
- Consumer rollout to target services/tools.
Pre-Deployment Checklist
- Run repository fitness gate.
bash scripts/fitness-check.sh
- Verify no pending incidents in current release window.
- Confirm release notes include behavioral changes and migration notes.
- Confirm package version bump strategy.
Release Procedure
- Build release artifacts.
dotnet build CBDD.slnx -c Release
dotnet test CBDD.slnx -c Release
- Pack publishable projects.
dotnet pack src/CBDD/ZB.MOM.WW.CBDD.csproj -c Release -o nupkgs
- Publish package to approved internal feed.
- Create release tag and attach release notes.
- Notify downstream teams of version and rollout guidance.
Post-Deployment Validation
- Install released package in a smoke-test consumer.
- Validate insert, query, transaction commit, and recovery startup behavior.
- Verify CDC, vector, and geospatial capabilities when used by consuming teams.
Rollback Procedure
Trigger rollback when release validation fails or production consumers detect regression.
- Stop further promotions of the failing version.
- Revert to previous known-good package version in consumer manifests.
- If package registry supports unlisting/yanking, unlist the bad version.
- Open incident issue with impact, timeline, and containment actions.
- Prepare and validate patch release before re-promotion.
Emergency Change Path
- Create hotfix branch from last good tag.
- Apply minimal fix and run full quality gates.
- Require maintainer approval.
- Publish patched version and communicate mandatory upgrade guidance.