Some checks are pending
CI / test (push) Waiting to run
- 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)
27 lines
992 B
YAML
27 lines
992 B
YAML
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: ""
|