- 新增 _get_gitea_config.py 从 YAML 读取 URL/repo/token
- _common.sh 改为通过 eval python 脚本加载配置
- GITEA_CICD_SETUP.md / DEV_AGENT.md / QE_AGENT.md 更新文档
- CI 工作流改用 ${{ gitea.server_url }} / ${{ gitea.repository }}
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+4
-4
@@ -34,12 +34,12 @@ description: QE Agent — 自动化验收测试开发与质量门禁。轮询 Gi
|
||||
开始工作前,确认以下环境变量已设置:
|
||||
|
||||
```bash
|
||||
export GITEA_URL="https://git.zywl.me"
|
||||
export GITEA_REPO="zeekrAI/document_analyzer"
|
||||
export GITEA_API_TOKEN="<your-token>"
|
||||
# 设置使用的 Gitea 账号(从 ~/.gitea/config.yaml 读取配置)
|
||||
export GITEA_USER=pzhangzywl
|
||||
export GITEA_USER=pzhang_qe_agent_01
|
||||
```
|
||||
|
||||
GITEA_API_TOKEN 需要 `write:issue`、`write:repository`、`write:user` 权限。如果没有设置,从 `config/secrets.yaml` 中读取。
|
||||
GITEA_API_TOKEN 需要 `write:issue`、`write:repository`、`write:user` 权限。Token 和其他 Gitea 连接信息配置在 `~/.gitea/config.yaml` 中。
|
||||
|
||||
验收测试需要 LLM API(Layer C QE Audit):
|
||||
- 文本模型:`deepseek-v4-flash`,配置在 `~/.openclaw/config/secrets.yaml` 的 `deepseek` 段
|
||||
|
||||
Reference in New Issue
Block a user