feat(ci): 补全所有CI job失败通知 + 部署成功通知 #229

Merged
xiaoxia merged 2 commits from feat/ci-notify-all-jobs-v2 into develop 2026-07-12 17:22:46 +08:00
Owner

变更说明

基于最新 develop 分支重建的干净PR,替换旧的 #228(原分支太老,有4个文件冲突,CI也因为代码版本不一致各种出问题)。

改动内容

  1. 新增 scripts/ci_notify_success.py — 部署成功通知脚本(飞书卡片,绿色成功样式)

  2. 修改 .gitea/workflows/ci-cd.yml

    • 给以下 7 个 job 加上失败通知:

      • Frontend Lint
      • Build & Push Staging (Watchtower auto-deploy)
      • Staging E2E Tests
      • Staging API Integration Tests
      • Build Production Runtime Images
      • Deploy Production
      • Production Browser E2E
    • 给以下 2 个部署 job 加上成功通知(部署完成后发):

      • Build & Push Staging — Staging部署成功
      • Deploy Production — 生产部署成功

参考

  • 失败通知参照已有的 Validate Code Quality And Tests 和 Integration Tests 里的 "Notify CI failure" 步骤写法
  • 成功通知基于失败通知改写,调用 scripts/ci_notify_success.py
## 变更说明 基于最新 develop 分支重建的干净PR,替换旧的 #228(原分支太老,有4个文件冲突,CI也因为代码版本不一致各种出问题)。 ## 改动内容 1. **新增 `scripts/ci_notify_success.py`** — 部署成功通知脚本(飞书卡片,绿色成功样式) 2. **修改 `.gitea/workflows/ci-cd.yml`**: - 给以下 7 个 job 加上失败通知: - Frontend Lint - Build & Push Staging (Watchtower auto-deploy) - Staging E2E Tests - Staging API Integration Tests - Build Production Runtime Images - Deploy Production - Production Browser E2E - 给以下 2 个部署 job 加上成功通知(部署完成后发): - Build & Push Staging — Staging部署成功 - Deploy Production — 生产部署成功 ## 参考 - 失败通知参照已有的 Validate Code Quality And Tests 和 Integration Tests 里的 "Notify CI failure" 步骤写法 - 成功通知基于失败通知改写,调用 `scripts/ci_notify_success.py`
xiaoxia added 2 commits 2026-07-12 17:05:45 +08:00
feat(ci): 补全所有CI job失败通知 + 部署成功通知
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m28s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 3m1s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m41s
4164ad940f
xiaoxia merged commit e39f8bacdd into develop 2026-07-12 17:22:46 +08:00
Sign in to join this conversation.