forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
69 lines (66 loc) · 2.18 KB
/
config.yml
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
defaults:
# defaults outlining all configuration options and some sane defaults
app:
component: hooks
scheduler:
pollingDelay: 60000
influx:
connectionString: !env:optional INFLUX_CONNECTION
maxDelay: 300
maxPendingPoints: 300
azure:
# deprecated way of specifying a crypto key
cryptoKey: !env:optional AZURE_CRYPTO_KEY
postgres:
readDbUrl: !env READ_DB_URL
writeDbUrl: !env WRITE_DB_URL
dbCryptoKeys: !env:json:optional DB_CRYPTO_KEYS
taskcluster:
rootUrl: !env TASKCLUSTER_ROOT_URL
credentials:
clientId: !env TASKCLUSTER_CLIENT_ID
accessToken: !env TASKCLUSTER_ACCESS_TOKEN
monitoring:
level: !env:optional LEVEL
errorConfig: !env:json:optional ERROR_CONFIG
server:
port: !env:number PORT
env: !env NODE_ENV
forceSSL: !env:bool FORCE_SSL
trustProxy: !env:bool TRUST_PROXY
pulse:
username: !env PULSE_USERNAME
password: !env PULSE_PASSWORD
hostname: !env PULSE_HOSTNAME
vhost: !env PULSE_VHOST
# a list of regular expressions for exchanges that are prohibited
denylist:
# triggering a hook on task-created could create a "task bomb" that just spews
# out tasks with no end, and isn't useful otherwise
- exchange/taskcluster-queue/v1/task-created
# changes to hooks themselves are internal and shouldn't trigger hooks
- exchange/taskcluster-hooks/.*
# new relic config (processed in services/prelude.js)
newRelic: !env:json:optional NEW_RELIC
test:
# See user-config-example.yml for secrets credentials required for tests
taskcluster:
rootUrl: "https://tc.example.com"
app:
component: hooks-tests
scheduler:
pollingDelay: 5000
postgres:
dbCryptoKeys:
- id: 'hooks'
algo: 'aes-256'
key: "aSdtIGJzdGFjayEgaGVsbG8gZnV0dXJlIHBlcnNvbgo="
azure:
cryptoKey: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
server:
port: 60401
env: development
forceSSL: false
trustProxy: false
pulse:
namespace: 'taskcluster-fake'