feat(release): publish gitea release notes and enable production rollback
This commit is contained in:
@@ -28,8 +28,14 @@ Policy:
|
||||
- Steps:
|
||||
1. validate tag vs root `package.json` version
|
||||
2. generate changelog
|
||||
3. docker login
|
||||
4. build and push `cms-web` and `cms-admin` images
|
||||
3. extract release notes from `CHANGELOG.md`
|
||||
4. docker login
|
||||
5. build and push `cms-web` and `cms-admin` images
|
||||
6. publish/update Gitea release notes through API
|
||||
|
||||
Additional required secret:
|
||||
|
||||
- `GITEA_RELEASE_TOKEN`
|
||||
|
||||
## Staging Deployment Automation
|
||||
|
||||
@@ -57,10 +63,10 @@ Promotion:
|
||||
|
||||
Rollback:
|
||||
|
||||
- release workflow supports rollback placeholder by image tag
|
||||
- deploy workflow supports `rollback_tag` input
|
||||
- release workflow supports manual production rollback by `rollback_image_tag`
|
||||
- deploy workflow supports `rollback_tag` input for environment-specific rollback
|
||||
- recovery action:
|
||||
- rerun deploy with previous known-good tag
|
||||
- rerun deploy/rollback with previous known-good tag
|
||||
|
||||
## Deployment Verification
|
||||
|
||||
|
||||
Reference in New Issue
Block a user