-
Notifications
You must be signed in to change notification settings - Fork 16
/
default.yaml
84 lines (77 loc) · 2.81 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
---
auth:
# A public key for verifying JWTs signed by api.screwdriver.cd
jwtPublicKey: |
-----BEGIN PUBLIC KEY-----
INSERT STUFF HERE
-----END PUBLIC KEY-----
jwtMaxAge: 13h
httpd:
# Port to listen on
port: 80
# Host to listen on (set to localhost to only accept connections from this machine)
host: 0.0.0.0
# Externally routable URI (usually your load balancer or CNAME)
uri: http://localhost
# SSL Support
tls: false
# If you want SSL, you can easily add it by replacing `tls: false` with an object that
# provides the options required by `tls.createServer`
# https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener
# key: |
# -----BEGIN RSA PRIVATE KEY-----
# INSERT STUFF HERE
# -----END RSA PRIVATE KEY-----
# cert: |
# -----BEGIN CERTIFICATE-----
# INSERT STUFF HERE
# -----END CERTIFICATE-----
builds:
# How long should builds stay around for
expiresInSec: 1814400000 # 3 weeks
# Upper limit on incoming uploads to builds
maxByteSize: 1073741824 # 1GB
caches:
# How long should caches stay around for
expiresInSec: 2592000000 # 30 days
# Upper limit on incoming uploads to cache
maxByteSize: 5368709120 # 5GB
commands:
# How long should commands stay around for
expiresInSec: 31536000000 # 1 year
# Upper limit on incoming uploads to commands
maxByteSize: 1073741824 # 1GB
strategy:
plugin: memory
disk:
# Reference for the following options: https://github.com/mirusresearch/catbox-disk
# existing dir to store the cache
cachePath: /tmp/screwdriver
# number of milliseconds between each cache cleanup for disk space recovery, Set to 0 to deactivate entirely.
cleanEvery: 0
memory:
# Upper limit on the number of bytes that can be stored in the cache
maxByteSize: 1073741824 # 1GB
s3:
# Amazon access key
accessKeyId: null
# Amazon secret access key
secretAccessKey: null
# Amazon Session Token from federated credentials
sessionToken: null
# Amazon S3 region
region: YOUR-REGION
# Amazon S3 bucket that you have write access to
bucket: YOUR-BUCKET-ID
# Whether to force path style URLs for S3 objects.
forcePathStyle: false
# aws-sdk options for the size in bytes for each individual part to be uploaded.
partSize: 5242880 # default 5mb
# AWS s3 object ACL should be "private" by default, unless "public-read" otherwise
ACL: private
# default http timeout in ms, default 20s
httpTimeout: 20000
ecosystem:
ui: https://cd.screwdriver.cd
api: https://api.screwdriver.cd
allowCors: []