AgentEvalTool/deploy/ci/runner/config.yaml
sinohqb b451ac9625
Some checks are pending
CI / test (push) Waiting to run
feat(ci-cd): add self-hosted Gitea Actions runner + CI & production CD
- CI image (deploy/ci/Dockerfile) with warm deps, no GitHub/Docker Hub dependency
- act_runner deployment templates (compose/config/.env) for Gitea host 47.111.21.147
- Rewrite ci.yml: manual git clone (GITHUB_TOKEN), runs-on agenteval-ci, reuse ci-check.sh
- Add cd-production.yml: tag v*/dispatch trigger, test gate + version gate + ssh deploy
  via scripts/deploy-volcengine-102.sh (unchanged)
- t480 stays manual (internal network, unreachable from Gitea host)
2026-08-12 15:02:29 +08:00

27 lines
992 B
YAML
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.

log:
level: info
runner:
file: .runner
capacity: 1 # 单人项目串行执行即可
timeout: 1h
fetch_timeout: 5s
fetch_interval: 2s
workdir_parent: /work # runner 容器内路径
labels:
- "agenteval-ci:docker://registry.solahqb22.cn/ci/agenteval-ci:latest"
envs: # 注入所有 job 的环境变量双保险workflow 里也写了)
PIP_INDEX_URL: https://mirrors.aliyun.com/pypi/simple/
NPM_CONFIG_REGISTRY: https://registry.npmmirror.com
cache:
enabled: true
dir: /data/cache
container:
# 关键job 容器由宿主机 daemon 创建bind mount 源路径按宿主机解析,
# 因此 job 侧 workdir 必须指向宿主机上与 runner 容器 /work 对应的宿主机路径。
workdir_parent: /opt/act_runner/work
valid_volumes:
- /var/run/docker.sock
# options: --add-host git.solahqb22.cn:host-gateway # 仅当 EIP hairpin 不通时启用(见计划 6.4
host:
workdir_parent: ""