This repository has been archived by the owner on Apr 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
default.yaml
171 lines (167 loc) · 5.31 KB
/
default.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
---
executor:
# Default executor
plugin: k8s-vm
k8s:
options:
kubernetes:
# The host or IP of the kubernetes cluster
host: kubernetes.default
dockerFeatureEnabled: false
resources:
cpu:
# Number of cpu cores
micro: "0.5"
low: 2
high: 6
turbo: 12
memory:
# Memory in GB
micro: 1
low: 2
high: 12
turbo: 16
# Default build timeout for all builds in this cluster
buildTimeout: 90
# Default max build timeout
maxBuildTimeout: 120
# k8s node selectors for approprate pod scheduling
nodeSelectors: {}
preferredNodeSelectors: {}
annotations: {}
# Launcher image to use
launchImage: screwdrivercd/launcher
# Container tags to use
launchVersion: stable
# Circuit breaker config
fusebox:
breaker:
# in milliseconds
timeout: 10000
# requestretry configs
requestretry:
# in milliseconds
retryDelay: 3000
maxAttempts: 5
k8s-vm:
options:
# Configuration of Docker
kubernetes:
# The host or IP of the kubernetes cluster
host: kubernetes.default
# Resources for build pod
resources:
cpu:
# Number of cpu cores
micro: 1
low: 2
high: 6
turbo: 12
# upper bound for user custom cpu
max: 12
memory:
# Memory in GB
micro: 1
low: 2
high: 12
turbo: 16
# upper bound for user custom memory
max: 16
# Default build timeout for all builds in this cluster
buildTimeout: 90
# Default max build timeout
maxBuildTimeout: 120
# k8s node selectors for approprate pod scheduling
nodeSelectors: {}
preferredNodeSelectors: {}
# Launcher image to use
launchImage: screwdrivercd/launcher
# Launcher container tag to use
launchVersion: stable
# Circuit breaker config
fusebox:
breaker:
# in milliseconds
timeout: 10000
# requestretry configs
requestretry:
# in milliseconds
retryDelay: 3000
maxAttempts: 5
# jenkins:
# options:
# # Configuration of Jenkins
# jenkins:
# host: jenkins.default
# port: 8080
# username: screwdriver
# password: "WOW-AN-EVEN-MORE-INSECURE-PASSWORD!!!!"
# # Default build timeout (in minutes)
# buildTimeout: 90
# # Default max build timeout (in minutes)
# maxBuildTimeout: 120
ecosystem:
# Externally routable URL for the User Interface
ui: https://cd.screwdriver.cd
# Externally routable URL for the API
api: https://api.screwdriver.cd
# Externally routable URL for the Artifact Store
store: https://store.screwdriver.cd
# build cache strategies: s3, disk, with s3 as default option to store cache
cache:
strategy: "s3"
path: "/"
compress: false
md5check: false
max_size_mb: 0
redis:
# Host of redis cluster
host: 127.0.0.1
# Password to connect to redis cluster
# password: null
# Port of redis cluster
port: 6379
# Prefix for the queue name
# prefix: 'beta-'
# Flag to enable client for TLS-based communication
tls: false
plugins:
blockedBy:
# re-enqueue in 1 mins if blocked
reenqueueWaitTime: 1
# job is blocking for maximum 120 mins = build timeout
blockTimeout: 120
# job blocked by itself
blockedBySelf: true
# by default collapse builds or not
collapse: true
worker:
# https://github.com/taskrabbit/node-resque#multiworker-options
# minimum number of workers to spawn
minTaskProcessors: 1
# maximum number of workers to spawn
maxTaskProcessors: 10
# how often to check if the event loop is blocked (ms)
checkTimeout: 1000
# how long the event loop has to be delayed before considering it blocked (ms)
maxEventLoopDelay: 10
# Run queue-worker as a scheduler, instead of calling executor to start/stop builds, push it to rabbitmq
scheduler:
# Enabled schduler mode or not
enabled: false
# To enable schduler mode, you need rabbitmq server and consumer
rabbitmq:
# Host of rabbitmq cluster
host: 127.0.0.1
# Port of rabbitmq cluster
port: 5672
# User to push to rabbitmq
username: sd-buidbot
# Password to connect to rabbitmq cluster
password: fakepassword
# Protocol for rabbitmq server, use amqps for ssl
protocol: amqp
# Exchange / router name for rabbitmq
exchange: build
# Virtual host to connect to
vhost: /screwdriver