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

[[runners]]
  name = "ruby-2.1"
  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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

[[runners]]
  name = "ruby-2.1-docker"
  url = "https://CI/"
  token = "TOKEN"
  limit = 0
  executor = "docker"
  builds_dir = ""
  [runners.docker]
    host = ""
    image = "ruby:2.1"
    privileged = false
    disable_cache = false
    cache_dir = ""

[[runners]]
  name = "ruby-2.1-docker-ssh"
  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"