feat(k8s): M5 Deployment 暂停更新 + CI/CD 集成
- 后端: PauseDeployment/ResumeDeployment 客户端方法 (PATCH spec.paused) - 后端: ID路由 + Kuboard code路由 pause/resume handlers - 后端: Deployment 列表 summary 增加 paused 字段 - 前端: 操作菜单增加「暂停更新/恢复更新」动态切换 + 暂停 Badge - 前端: CI/CD 发布按钮跳转流水线页面 (namespace+deployment 上下文) - 前端: api.ts 增加 pauseDeployment/resumeDeployment 方法 - 验证: 5项端到端测试全部通过 (Python urllib)
This commit is contained in:
1 parent
23f237288d
commit
2e66908e20
8 files changed
+194
-8
No files matched your search
+8
-5
@@ -70,16 +70,19 @@
|
||||
|
||||
---
|
||||
|
||||
### M5: Deployment 暂停更新 + CI/CD 集成 [pending]
|
||||
### M5: Deployment 暂停更新 + CI/CD 集成 [done]
|
||||
**目标**: 接通顶部菜单的暂停更新和 CI/CD 按钮
|
||||
|
||||
**改动**:
|
||||
- 后端 `POST .../deployments/:name/pause` 和 `/resume`
|
||||
- CI/CD 按钮跳转到已有 Pipeline 页面(传递 namespace+deployment 上下文)
|
||||
- 后端 `POST .../deployments/:name/pause` 和 `/resume`(ID 路由 + Kuboard code 路由)
|
||||
- 客户端 `PauseDeployment()` / `ResumeDeployment()` — PATCH `spec.paused` 布尔字段
|
||||
- Deployment 列表 summary 增加 `paused` 字段,前端可读取暂停状态
|
||||
- 前端操作菜单增加「暂停更新/恢复更新」动态切换 + 暂停 Badge
|
||||
- CI/CD 按钮跳转到流水线页面(传递 namespace+deployment 上下文)
|
||||
|
||||
**验收标准**:
|
||||
- [ ] 可暂停/恢复 Deployment 滚动更新
|
||||
- [ ] CI/CD 按钮可跳转到流水线页面
|
||||
- [x] 可暂停/恢复 Deployment 滚动更新
|
||||
- [x] CI/CD 按钮可跳转到流水线页面
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user