Reverting runner config to default values

This commit is contained in:
Lukas 2024-05-18 22:36:53 +02:00
parent 466d3b1edf
commit 1818958dab
No known key found for this signature in database
GPG key ID: B7940328383214B0

View file

@ -39,15 +39,14 @@ runner:
# -- Extra environment variables to run jobs. # -- Extra environment variables to run jobs.
# @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml) # @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml)
envs: envs:
DOCKER_HOST: tcp://127.0.0.1:2376 A_TEST_ENV_NAME_1: a_test_env_value_1
DOCKER_TLS_VERIFY: 1 A_TEST_ENV_NAME_2: a_test_env_value_2
DOCKER_CERT_PATH: /certs/client
container: container:
# -- Specifies the network to which the container will connect. # -- Specifies the network to which the container will connect.
# Could be host, bridge or the name of a custom network. # Could be host, bridge or the name of a custom network.
# If it's empty, create a network automatically. # If it's empty, create a network automatically.
# @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml) # @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml)
network: host network: ""
# -- Whether to create networks with IPv6 enabled. Requires the Docker daemon to be set up accordingly. # -- Whether to create networks with IPv6 enabled. Requires the Docker daemon to be set up accordingly.
# Only takes effect if "network" is set to "". # Only takes effect if "network" is set to "".
# @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml) # @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml)
@ -57,9 +56,8 @@ runner:
privileged: false privileged: false
# -- And other options to be used when the container is started (eg, --add-host=my.forgejo.url:host-gateway). # -- And other options to be used when the container is started (eg, --add-host=my.forgejo.url:host-gateway).
# @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml) # @section -- Configuration yaml of runner (see: https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml)
options: -v /certs/client:/certs/client options:
valid_volumes: valid_volumes: []
- /certs/client
dind: dind:
image: image: