infrastructure/ansible/roles/gitlab_runner/files/config.toml
Jake Howard 1c14c10b74
Allow 2 cores per runner job for concurrency
Allowing 2 clear cores runs fewer jobs, but should run them a lot faster
2022-05-07 12:34:57 +01:00

20 lines
472 B
TOML

concurrent = {{ ansible_processor_nproc // 2 }}
log_level = "warning"
check_interval = 10
[session_server]
session_timeout = 1800
[[runners]]
name = "runner"
url = "https://git.theorangeone.net"
token = "{{ gitlab_runner_token }}"
limit = 0
executor = "docker"
[runners.docker]
image = "alpine"
privileged = true
disable_cache = false
volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock:ro"]
pull_policy = "if-not-present"