feat: add release diff rollback plan
This commit is contained in:
@@ -52,15 +52,31 @@ java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release import-pre
|
||||
--package-file target/ai-runs/feature-package.eip4pkg.json
|
||||
```
|
||||
|
||||
6. 确认部署包包含:
|
||||
6. 如存在上一版功能包,先做离线差异检查:
|
||||
|
||||
```bash
|
||||
java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release diff \
|
||||
--left target/ai-runs/feature-package-old.json \
|
||||
--right target/ai-runs/feature-package.json
|
||||
```
|
||||
|
||||
7. 需要回滚预案时,只生成回滚计划文件:
|
||||
|
||||
```bash
|
||||
java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release rollback-plan \
|
||||
--package-file target/ai-runs/feature-package.eip4pkg.json \
|
||||
--output target/ai-runs/rollback-plan.json
|
||||
```
|
||||
|
||||
8. 确认部署包包含:
|
||||
- manifest
|
||||
- SQL 草案
|
||||
- rollback SQL
|
||||
- 本地 apply evidence
|
||||
- smoke evidence
|
||||
- repair evidence
|
||||
7. 确认部署包需要人工审批。
|
||||
8. 如果包含 `${parentMenuId}` 等占位符,必须人工替换并复核;`release verify` 默认会阻断这类包。
|
||||
9. 确认部署包需要人工审批。
|
||||
10. 如果包含 `${parentMenuId}` 等占位符,必须人工替换并复核;`release verify` 默认会阻断这类包。
|
||||
|
||||
## 线上 bug 修复路径
|
||||
|
||||
@@ -77,3 +93,4 @@ java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release import-pre
|
||||
- 不把 smoke 失败的变更包交给发布流程。
|
||||
- 不发布 `release verify` 失败的功能包。
|
||||
- 不把 `import-preview` 当成导入或启用;它只是离线检查。
|
||||
- 不把 `rollback-plan` 当成回滚执行;它只生成计划和 SQL 清单。
|
||||
|
||||
Reference in New Issue
Block a user