From 4523c271e8019885abc663b47d0f02b3751d7cf3 Mon Sep 17 00:00:00 2001 From: Jeoffrey Bauvin Date: Mon, 26 Oct 2015 16:04:14 +0100 Subject: Add template for config file --- templates/config.toml.erb | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 templates/config.toml.erb 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 -- cgit v1.2.3