Skip to content

Instantly share code, notes, and snippets.

@olso
Created June 24, 2020 11:12
Show Gist options
  • Save olso/78634c1f87f523fbcf5455c1b4e4fc52 to your computer and use it in GitHub Desktop.
Save olso/78634c1f87f523fbcf5455c1b4e4fc52 to your computer and use it in GitHub Desktop.
Gitlab multiple runners on the same host and limit one job per runner, due to node module caching. Also separated runner per repo
concurrent = 4
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "hoeapp"
url = "https://gitlab.com/"
token = ""
executor = "docker"
limit = 1
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.docker]
tls_verify = false
image = "node:13"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
[[runners]]
name = "seasygmbh"
url = "https://gitlab.com/"
token = ""
executor = "docker"
limit = 1
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.docker]
tls_verify = false
image = "node:13"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
[[runners]]
name = "seasygmbh-api"
url = "https://gitlab.com/"
token = ""
executor = "docker"
limit = 1
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.docker]
tls_verify = false
image = "node:13"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
[[runners]]
name = "seasygmbh-web"
url = "https://gitlab.com/"
token = ""
executor = "docker"
limit = 1
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.docker]
tls_verify = false
image = "node:13"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment