gitlab Runner configuration


Example

The config location for your runner is:

Debian/Ubuntu/CentOS

/etc/gitlab-runner/config.toml if run as root

~/.gitlab-runner/config.toml if run as non-root

Windows

config.toml where your binary is located


A minimal config.toml can look like this:

concurrent = 1
[[runners]]
  name = "ExampleRunner"
  url = "https://example.com/ci"
  token = "f3058595ca4b2d217726466b1feed9"
  executor = "shell"
  shell = "bash"

For advanced configuration please check the official documentation.