config.toml.example 1.1 KB
Newer Older
Kamil Trzciński's avatar
Kamil Trzciński committed
1 2 3
concurrent = 4

[[runners]]
4
  name = "shell"
Kamil Trzciński's avatar
Kamil Trzciński committed
5 6 7 8 9
  url = "https://CI/"
  token = "TOKEN"
  limit = 2
  executor = "shell"
  builds_dir = ""
10
  shell = "bash"
Kamil Trzciński's avatar
Kamil Trzciński committed
11 12

[[runners]]
13
  name = "ruby-2.6-docker"
Kamil Trzciński's avatar
Kamil Trzciński committed
14 15 16 17 18 19 20
  url = "https://CI/"
  token = "TOKEN"
  limit = 0
  executor = "docker"
  builds_dir = ""
  [runners.docker]
    host = ""
21
    image = "ruby:2.6"
Kamil Trzciński's avatar
Kamil Trzciński committed
22 23 24 25 26
    privileged = false
    disable_cache = false
    cache_dir = ""

[[runners]]
27
  name = "ubuntu-docker-ssh"
Kamil Trzciński's avatar
Kamil Trzciński committed
28 29 30 31 32 33 34 35 36
  url = "https://CI/"
  token = "TOKEN"
  limit = 0
  executor = "docker-ssh"
  builds_dir = ""
  [runners.docker]
    host = ""
    image = "ubuntu-upstart:14.04"
    privileged = false
37
    disable_entrypoint_overwrite = false
Kamil Trzciński's avatar
Kamil Trzciński committed
38 39
    disable_cache = false
    cache_dir = ""
40 41
    [runners.docker.sysctls]
      "net.ipv4.ip_forward" = "1"
Kamil Trzciński's avatar
Kamil Trzciński committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
  [runners.ssh]
    port = "22"
    user = "root"
    password = "docker.io"


[[runners]]
  name = "production-server"
  url = "https://CI/"
  token = "TOKEN"
  limit = 0
  executor = "ssh"
  builds_dir = ""
  [runners.ssh]
    host = "my-production-server"
    port = "22"
    user = "root"
    password = "production-server-password"