Files
mkt.ose.tw/docs/operations/RELEASE_OPERATIONS_MASTER.md
2026-03-23 20:23:58 +08:00

43 lines
786 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Release Operations Master
## 目標
整合部署、監控、設定對齊、回滾與 staging 交接流程。
## 服務入口
- Frontend`mkt.ose.tw`
- FastAPI`mktapi.ose.tw`
- Directus`mktcms.ose.tw`
- SDKCloudFront + VPS Origin
## 發布前檢查
- 環境變數與 secrets 已注入
- CORS、domain、token 策略一致
- API readiness 與 smoke 通過
- 驗證資料完整
## 發布步驟
1. Build 與部署
2. 健康檢查
3. 核心流程 smoke
4. 監控與錯誤觀察
5. 記錄發布結果
## 回滾步驟
1. 停止新版本流量
2. 切回上一 release
3. 驗證健康與核心流程
4. 補齊事故記錄與後續動作
## 監控基線
- API 錯誤率
- Runtime 事件量與失敗率
- Editor 主要操作失敗率
- 發布後 30 分鐘內異常告警