summaryrefslogtreecommitdiff
path: root/templates/config.toml.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/config.toml.erb')
-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