Skip to content

Instantly share code, notes, and snippets.

@alirezazadeh77
Created January 13, 2023 14:37
Show Gist options
  • Save alirezazadeh77/bf54f93fd9757f4230bc3be7e67c0f94 to your computer and use it in GitHub Desktop.
Save alirezazadeh77/bf54f93fd9757f4230bc3be7e67c0f94 to your computer and use it in GitHub Desktop.
a sample config for gitlab runner
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "gitlabrunner"
url = "https://localhost/"
token = "***************"
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
pull_policy = ["if-not-present"]
image = "docker:20.10"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/var/run/docker.sock:/var/run/docker.sock","/cache"]
shm_size = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment