fix: update comments for clarity in runner configuration template
This commit is contained in:
@@ -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:
|
log:
|
||||||
level: info
|
level: info
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
name: ${RUNNER_NAME}
|
name: ${RUNNER_NAME}
|
||||||
labels:
|
labels: # Label specs define what workflows this runner picks up.
|
||||||
${RUNNER_LABELS_YAML}
|
${RUNNER_LABELS_YAML}
|
||||||
capacity: ${RUNNER_CAPACITY}
|
capacity: ${RUNNER_CAPACITY} # Max concurrent jobs. Constrained by host CPU/RAM.
|
||||||
timeout: 3h
|
timeout: 3h # Kill jobs that run longer than this.
|
||||||
insecure: false
|
insecure: false # Require valid TLS when talking to Gitea.
|
||||||
fetch_timeout: 5s
|
fetch_timeout: 5s # Timeout for fetching new jobs from Gitea.
|
||||||
fetch_interval: 2s
|
fetch_interval: 2s # How often to poll Gitea for pending jobs.
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
dir: ""
|
dir: "" # Empty = default cache directory inside /data.
|
||||||
|
|
||||||
container:
|
container:
|
||||||
network: ""
|
network: "" # Empty = use default Docker network.
|
||||||
privileged: false
|
privileged: false # Never run job containers as privileged.
|
||||||
options:
|
options:
|
||||||
workdir_parent:
|
workdir_parent:
|
||||||
|
|
||||||
host:
|
host:
|
||||||
workdir_parent:
|
workdir_parent: # Only used by native runners (type=native).
|
||||||
|
|||||||
Reference in New Issue
Block a user