docs: redesign homepage with Linus JUST FOR FUN hero
29
Home.md
29
Home.md
@@ -1,20 +1,21 @@
|
|||||||
# Issue-Driven DevOps Agent
|

|
||||||
|
|
||||||
> **为研发团队打造的 Issue 驱动交付平台**
|
# gitea-issue-devops-agent
|
||||||
> 把 `Issue -> Branch -> Preview Slot -> Test Loop -> Human-Confirmed Merge` 固化为标准流程。
|
|
||||||
|
> **Issue-Driven DevOps 产品官网**
|
||||||
|
> 把 `Issue → Branch → Preview Slot → Test Loop → Human-Confirmed Merge` 变成标准交付引擎。
|
||||||
|
|
||||||
## 核心价值
|
## 核心价值
|
||||||
|
|
||||||
### 1. 分支隔离提测
|
### 1) 分支隔离提测
|
||||||
每个 issue 绑定独立分支与预览槽位,避免测试互相覆盖,`main` 保持稳定回归。
|
每个 issue 固定独立分支和预览槽位,主干保持稳定回归,避免提测互相覆盖。
|
||||||
|
|
||||||
### 2. 智能节省资源
|
### 2) 智能节省资源
|
||||||
按改动范围自动识别部署策略:`skip / client_only / server_only / full_stack / infra_only`。
|
按改动自动识别部署策略:`skip / client_only / server_only / full_stack / infra_only`。
|
||||||
**服务端没变更就不重启服务端**。
|
**服务端未变更就不重启服务端**。
|
||||||
|
|
||||||
### 3. 可审计闭环
|
### 3) 证据化闭环
|
||||||
每次提测沉淀 commit、测试链接、环境 URL、验证步骤。
|
提测沉淀 commit、测试链接、环境 URL、验证步骤;最终合并必须工程师人工确认。
|
||||||
所有模式下最终合并都要求工程师人工确认。
|
|
||||||
|
|
||||||
## 一键安装
|
## 一键安装
|
||||||
|
|
||||||
@@ -36,7 +37,6 @@ powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -useb https://fun-md
|
|||||||
## 工具使用说明
|
## 工具使用说明
|
||||||
|
|
||||||
### issue_audit.py
|
### issue_audit.py
|
||||||
抓取 issue/评论/图片附件并评分去重:
|
|
||||||
```bash
|
```bash
|
||||||
python skills/gitea-issue-devops-agent/scripts/issue_audit.py \
|
python skills/gitea-issue-devops-agent/scripts/issue_audit.py \
|
||||||
--base-url https://fun-md.com \
|
--base-url https://fun-md.com \
|
||||||
@@ -48,13 +48,11 @@ python skills/gitea-issue-devops-agent/scripts/issue_audit.py \
|
|||||||
```
|
```
|
||||||
|
|
||||||
### change_scope.py
|
### change_scope.py
|
||||||
识别部署范围,控制资源投放:
|
|
||||||
```bash
|
```bash
|
||||||
python skills/gitea-issue-devops-agent/scripts/change_scope.py --repo-path . --base-ref origin/main --head-ref HEAD
|
python skills/gitea-issue-devops-agent/scripts/change_scope.py --repo-path . --base-ref origin/main --head-ref HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
### preview_slot_allocator.py
|
### preview_slot_allocator.py
|
||||||
分配/复用/回收预览槽位:
|
|
||||||
```bash
|
```bash
|
||||||
python skills/gitea-issue-devops-agent/scripts/preview_slot_allocator.py --state-file .tmp/preview-slots.json --slots preview-a,preview-b --repo FunMD/document-collab --issue 48 --branch dev --ttl-hours 24 --url-template https://{slot}.qa.example.com --evict-oldest
|
python skills/gitea-issue-devops-agent/scripts/preview_slot_allocator.py --state-file .tmp/preview-slots.json --slots preview-a,preview-b --repo FunMD/document-collab --issue 48 --branch dev --ttl-hours 24 --url-template https://{slot}.qa.example.com --evict-oldest
|
||||||
```
|
```
|
||||||
@@ -63,5 +61,4 @@ python skills/gitea-issue-devops-agent/scripts/preview_slot_allocator.py --state
|
|||||||
|
|
||||||
- `.gitea/workflows/issue-branch-preview.yml`
|
- `.gitea/workflows/issue-branch-preview.yml`
|
||||||
- `.gitea/workflows/preview-slot-reclaim.yml`
|
- `.gitea/workflows/preview-slot-reclaim.yml`
|
||||||
|
- `.gitea/workflows/publish-site.yml`
|
||||||
用于自动完成:**分配槽位 + 按变更范围部署 + 自动回收**。
|
|
||||||
Reference in New Issue
Block a user