[CI优化] P3-1 金丝雀发布 #450

Closed
opened 2026-07-17 11:49:43 +08:00 by xiaoxia · 0 comments
Owner

完成

金丝雀发布流水线已部署完成。

完成内容

  1. 新增金丝雀发布脚本 scripts/ci/canary_release.sh

    • 分阶段灰度:5% → 20% → 50% → 100%
    • 每阶段自动健康检查(API + Web)
    • 观察期持续监控,异常自动回滚
    • SSH远程执行,脚本自动上传
  2. CI Pipeline新增canary-release job

    • 触发条件:main分支push
    • 依赖:staging-api-tests + build-production
    • 完整灰度流程全自动
  3. build-production支持main分支构建

    • 镜像标签格式:main-<sha前8位>
    • 不影响原有tag发布流程

PR

  • #879 feat(ci): 金丝雀发布流水线(已合develop)

关联

  • #619 [CI] 稳定性全面根治(P3-5 完成)
## 完成 ✅ 金丝雀发布流水线已部署完成。 ### 完成内容 1. **新增金丝雀发布脚本** `scripts/ci/canary_release.sh` - 分阶段灰度:5% → 20% → 50% → 100% - 每阶段自动健康检查(API + Web) - 观察期持续监控,异常自动回滚 - SSH远程执行,脚本自动上传 2. **CI Pipeline新增canary-release job** - 触发条件:main分支push - 依赖:staging-api-tests + build-production - 完整灰度流程全自动 3. **build-production支持main分支构建** - 镜像标签格式:`main-<sha前8位>` - 不影响原有tag发布流程 ### PR - #879 feat(ci): 金丝雀发布流水线(已合develop) ### 关联 - #619 [CI] 稳定性全面根治(P3-5 完成)
xiaoxia added this to the [CI] Phase 5:高级特性 milestone 2026-07-17 11:49:43 +08:00
xiaoxia added the devopsP3ci-optimization labels 2026-07-17 11:49:43 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xiaoxia/xiaoxia-saas#450