fix: update comments for clarity in runner configuration template

This commit is contained in:
S
2026-03-01 08:16:57 -05:00
parent 2f63b65d0d
commit c2a9ab1506

View File

@@ -1,26 +1,29 @@
# act_runner configuration — rendered from runner-config.yaml.tpl
# act_runner configuration — rendered by manage_runner.sh
# Variables: RUNNER_NAME, RUNNER_LABELS_YAML, RUNNER_CAPACITY
# Deployed alongside docker-compose.yml (docker) or act_runner binary (native).
log:
level: info
runner:
name: ${RUNNER_NAME}
labels:
labels: # Label specs define what workflows this runner picks up.
${RUNNER_LABELS_YAML}
capacity: ${RUNNER_CAPACITY}
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
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: ""
dir: "" # Empty = default cache directory inside /data.
container:
network: ""
privileged: false
network: "" # Empty = use default Docker network.
privileged: false # Never run job containers as privileged.
options:
workdir_parent:
host:
workdir_parent:
workdir_parent: # Only used by native runners (type=native).