forked from reddit/rollingpin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.ini
65 lines (57 loc) · 2.15 KB
/
example.ini
1
2
3
4
5
6
7
8
9
10
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
; this is an example configuration file for rolling pin
; it should be placed in /etc/rollingpin.ini or ~/.rollingpin.ini
[deploy]
; where to write logs for rollouts
log-directory = /tmp
; the full path to a file that contains a list of words one per line. used to
; generate a random "name" for the push.
wordlist = /usr/share/dict/words
; default value for the --sleeptime parameter. how long to delay in seconds
; between queing up servers for rollout.
default-sleeptime = 0
; default value for the --parallel parameter. the maximum number of servers
; that will be acted upon at the same time.
default-parallel = 2
; the host on which the local copy of source code is maintained
code-host = code-01
; how long to wait in seconds for the deploy command to finish executing. 0
; for no timeout.
execution-timeout = 60
[hostsource]
; the other built in provider is "autoscaler". additional providers may be
; implemented and discovered with the pkg_resources entry points system.
provider = mock
hosts = app-01 app-02 app-03 job-01 job-02 uncool-01
[transport]
; this is a simple testing provider
provider = mock
;;;; these are the options for the ssh provider
; username to log in with
user = deploy
; key file to use. may (should) be password protected.
key = /etc/rollingpin.rsa
; executable to run commands through on remote host.
; `user` must be able to sudo this executable passwordlessly
; see example-deploy.py for more information.
command = /usr/local/bin/deploy
[harold]
; harold is a tool for coordinating eng teams, see: https://github.com/spladug/harold
; the base url where a harold instance can be found. leave blank to disable.
base-url =
; secret token for communication with harold
secret =
[elasticsearch]
; elasticsearch is used to store deploy metadata
endpoint =
; name of the ES index where metadata should go
index = deploy-*
; index type that the deploy metadata belongs to
type = deploy_events
[graphite]
; if configured, an event will be sent to graphite when the deploy starts.
; https://twistedmatrix.com/documents/14.0.0/core/howto/endpoints.html#clients
endpoint =
[aliases]
; glob patterns for aliasing groups of servers
apps = app-* %(jobs)s
jobs = job-*