Files
ansible-fte/playbooks/files/runner-config.yml
2024-07-10 14:57:05 +02:00

37 lines
1.1 KiB
YAML

log:
# The level of logging, can be trace, debug, info, warn, error, fatal
level: info
runner:
file: .runner
capacity: 1
envs:
env_file: .env
timeout: 10m
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
cache:
enabled: true
# If it's empty, the cache data will be stored in $HOME/.cache/actcache.
dir: ""
# The host of the cache server.
# It's not for the address to listen, but the address to connect from job containers.
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
host: ""
# The port of the cache server.
# 0 means to use a random available port.
port: 0
container:
# Which network to use for the job containers. Could be bridge, host, none, or the name of a custom network.
network: proxy-net
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
privileged: false
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
options:
# The parent directory of a job's working directory.
# If it's empty, /workspace will be used.
workdir_parent: