dev-manager-tauri/.blueprint/modules/cicd-workflow.md
lanrtop 29a066e7e3 chore(conventions): v1.9.0 自洽体检——规则边界结构 + R11 + 状态词汇统一
- CONVENTIONS 1.9.0:规则新增 boundaries/failure_cases 可选字段(失败定边界,
  经验细化为变体而非推翻);新增 R11 自动执行规则失效时必须记录失败案例;
  模块状态表补 abandoned 定义(何时更新蓝图章节早已引用但表中缺失)
- 状态词汇统一:github-auth/github-publish 的 deprecated(未定义状态)→ abandoned,
  BlueprintModal 状态色表补 abandoned 渲染
- 文档防腐:CLAUDE.md 技术栈改为 Gitea(GitHub 已退役);cicd-workflow 模块
  加改造中指针(单一事实来源指向 gitea-integration 的 Gitea Actions 卡)
- 蓝图:R2 卡完成解锁(分发随下次发版生效)
2026-07-02 14:09:09 +09:00

49 lines
1.6 KiB
Markdown
Raw 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.

---
id: cicd-workflow
name: CI/CD 工作流
status: done
progress: 100
---
## 概述
CI/CD 配置管理和 GitHub Actions Workflow 文件生成。支持两种部署类型Web SSH 部署和 Tauri OSS 分发。
完整部署教程见 docs/tauri-cicd-guide.md。
> ⚠️ **改造中2026-07-02**GitHub 已退役,本模块产出的 GitHub Actions 模板即将作废。
> 改造为 Gitea Actions 的任务卡在 gitea-integration 模块「Gitea Actions workflow 生成」,单一事实来源在彼处)。
> 「Actions 运行历史」功能已随 github-decommission 移除CicdModal runs tabGitea Actions 接入后重建。
## 任务卡
### ✅ CI/CD 配置 CRUD
- status: done
- files: src-tauri/src/commands/cicd.rs, src/components/dashboard/CicdModal.tsx
保存和读取 CI/CD 配置(部署类型、触发分支、构建命令等)。
### ✅ Workflow 文件生成
- status: done
- files: src-tauri/src/commands/cicd.rs
根据配置自动生成 .github/workflows/ 下的 YAML 文件。
### ✅ Web SSH 部署模板
- status: done
- files: src-tauri/src/commands/cicd.rs
生成基于 appleboy/ssh-action 的部署 workflow。
### ✅ Tauri OSS 分发模板
- status: done
- files: src-tauri/src/commands/cicd.rs
生成 Tauri 构建 + 签名 + 阿里云 OSS 上传的 release workflow。
### ✅ Actions 运行历史
- status: done
- files: src/components/dashboard/CicdModal.tsx
查看 GitHub Actions 运行状态,支持手动触发。
> ⚠️ 已随 github-decommission2026-07-02移除仅作历史记录Gitea Actions 接入后按新事实源重建。