summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr>2015-10-26 16:04:14 +0100
committerJeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr>2015-10-26 16:04:14 +0100
commit4523c271e8019885abc663b47d0f02b3751d7cf3 (patch)
tree27288e0a8141caf83ccad7a8fe2d6e0b722bc143
parent6f8128c8c4bc95b14650b32002f40a1c64b7b4d7 (diff)
Add template for config file
-rw-r--r--templates/config.toml.erb56
1 files changed, 56 insertions, 0 deletions
diff --git a/templates/config.toml.erb b/templates/config.toml.erb
new file mode 100644
index 0000000..ae9b89e
--- /dev/null
+++ b/templates/config.toml.erb
@@ -0,0 +1,56 @@
+concurrent = <%= @concurrent %>
+
+[[runners]]
+ name = "ruby-2.1"
+ url = "https://CI/"
+ token = "TOKEN"
+ limit = 2
+ executor = "shell"
+ builds_dir = ""
+ shell = "bash"
+
+[[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
+ disable_cache = false
+ cache_dir = ""
+ [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" \ No newline at end of file