Difference between revisions of "/etc/gitlab-runner/config.toml"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
https://docs.gitlab.com/runner/configuration/advanced-configuration.html
 +
 +
 
<pre>
 
<pre>
 
cat /etc/gitlab-runner/config.toml
 
cat /etc/gitlab-runner/config.toml

Revision as of 13:13, 20 January 2020

https://docs.gitlab.com/runner/configuration/advanced-configuration.html


cat /etc/gitlab-runner/config.toml
concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "YOUR_RUNNER_NAME"
  url = "https://URL_TO_YOUR_GITLAB"
  token = "5f0a9aee2a8456ce1d865fdf9c1ftt"
  executor = "docker"
  environment = ["GIT_SSL_NO_VERIFY=true"]
  [runners.docker]
    tls_verify = false
    image = "alpine:latest"
    privileged = true
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

See also

Advertising: