Files
gitea-migration/templates/runner-config.yaml.tpl
S b799cb7970 feat: add phases 10-11, enhance phase 8 direct-check mode, and update Caddy migration
- Phase 10: local repo cutover (rename origin→github, add Gitea remote, push branches/tags)
- Phase 11: custom runner infrastructure with toolchain-based naming
  (go-node-runner, jvm-android-runner) and repo variables via Gitea API
- Add container_options support to manage_runner.sh for KVM passthrough
- Phase 8: add --allow-direct-checks flag for LAN/split-DNS staging
- Phase 7.5: add Cloudflare TLS block, retry logic for probes, multi-upstream support
- Add toggle_dns.sh helper and update orchestration scripts for phases 10-11

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:14:11 -06:00

30 lines
1.1 KiB
Smarty

# act_runner configuration — rendered by manage_runner.sh
# Variables: RUNNER_NAME, RUNNER_LABELS_YAML, RUNNER_CAPACITY, RUNNER_CONTAINER_OPTIONS
# Deployed alongside docker-compose.yml (docker) or act_runner binary (native).
log:
level: info
runner:
name: ${RUNNER_NAME}
labels: # Label specs define what workflows this runner picks up.
${RUNNER_LABELS_YAML}
capacity: ${RUNNER_CAPACITY} # Max concurrent jobs. Constrained by host CPU/RAM.
timeout: 3h # Kill jobs that run longer than this.
insecure: false # Require valid TLS when talking to Gitea.
fetch_timeout: 5s # Timeout for fetching new jobs from Gitea.
fetch_interval: 2s # How often to poll Gitea for pending jobs.
cache:
enabled: true
dir: "" # Empty = default cache directory inside /data.
container:
network: "" # Empty = use default Docker network.
privileged: false # Never run job containers as privileged.
options: ${RUNNER_CONTAINER_OPTIONS}
workdir_parent:
host:
workdir_parent: # Only used by native runners (type=native).