Skip to content

Instantly share code, notes, and snippets.

@benjy8001
Created August 8, 2019 15:15
Show Gist options
  • Save benjy8001/400d69e1637732dfed0665901e8c998f to your computer and use it in GitHub Desktop.
Save benjy8001/400d69e1637732dfed0665901e8c998f to your computer and use it in GitHub Desktop.
gitlab-runner/config
concurrent = 3
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "xxx-runner"
url = "https://gitlab.com/"
token = "xxx"
executor = "docker"
[runners.docker]
tls_verify = false
image = "alpine:latest"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache", "/var/lib/docker"]
pull_policy = "if-not-present"
shm_size = 0
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[[runners]]
name = "xxx-runner"
url = "https://gitlab.com/"
token = "xxx"
executor = "docker"
[runners.custom_build_dir]
[runners.docker]
tls_verify = false
image = "alpine:latest"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache", "/var/lib/docker"]
shm_size = 0
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment