update config template
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
This commit is contained in:
parent
fccc482c5d
commit
5dd910707a
|
|
@ -1,5 +1,6 @@
|
||||||
log:
|
log:
|
||||||
level: ${GITEA_RUNNER_LOG_LEVEL:-info} # The level of logging, can be trace, debug, info, warn, error, fatal
|
# The level of logging, can be trace, debug, info, warn, error, fatal
|
||||||
|
level: ${GITEA_RUNNER_LOG_LEVEL:-info}
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
# Where to store the registration result.
|
# Where to store the registration result.
|
||||||
|
|
@ -30,6 +31,11 @@ runner:
|
||||||
fetch_timeout: '${GITEA_RUNNER_FETCH_TIMEOUT:-5s}'
|
fetch_timeout: '${GITEA_RUNNER_FETCH_TIMEOUT:-5s}'
|
||||||
# The interval for fetching the job from the Gitea instance.
|
# The interval for fetching the job from the Gitea instance.
|
||||||
fetch_interval: '${GITEA_RUNNER_FETCH_INTERVAL:-2s}'
|
fetch_interval: '${GITEA_RUNNER_FETCH_INTERVAL:-2s}'
|
||||||
|
# The labels of a runner are used to determine which jobs the runner can run, and how to run them.
|
||||||
|
# Like: ["macos-arm64:host", "ubuntu-latest:docker://node:16-bullseye", "ubuntu-22.04:docker://node:16-bullseye"]
|
||||||
|
# If it's empty when registering, it will ask for inputting labels.
|
||||||
|
# If it's empty when execute `deamon`, will use labels in `.runner` file.
|
||||||
|
#labels: []
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
# Enable cache server to use actions/cache.
|
# Enable cache server to use actions/cache.
|
||||||
|
|
@ -46,9 +52,14 @@ cache:
|
||||||
port: ${ACT_CACHE_SERVER_PORT:-0}
|
port: ${ACT_CACHE_SERVER_PORT:-0}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
# Which network to use for the job containers. Could be bridge, host, none, or the name of a custom network.
|
# Specifies the network to which the container will connect.
|
||||||
network_mode: ${GITEA_RUNNER_JOB_CONTAINER_NETWORK:-bridge}
|
# Could be host, bridge or the name of a custom network.
|
||||||
|
# If it's empty, act_runner will create a network automatically.
|
||||||
|
network: ${GITEA_RUNNER_JOB_CONTAINER_NETWORK:-bridge}
|
||||||
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
|
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
|
||||||
privileged: ${GITEA_RUNNER_JOB_CONTAINER_PRIVILEGED:-false}
|
privileged: ${GITEA_RUNNER_JOB_CONTAINER_PRIVILEGED:-false}
|
||||||
# Additional container launch options (eg, --add-host=my.gitea.url:host-gateway)
|
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
|
||||||
options: ${GITEA_RUNNER_JOB_CONTAINER_OPTIONS:-}
|
options: ${GITEA_RUNNER_JOB_CONTAINER_OPTIONS:-}
|
||||||
|
# The parent directory of a job's working directory.
|
||||||
|
# If it's empty, /workspace will be used.
|
||||||
|
#workdir_parent:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue