forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
76 lines (66 loc) · 2.32 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
70
71
72
73
74
75
76
defaults:
app:
sourceEmail: !env EMAIL_SOURCE_ADDRESS
routePrefix: notify
# Rate limits for email: maximum average rate of count/time
# 50 per 10 minute is a reasonable default: someone with an exploding
# taskgraph will get 50 messages, and will be able to get another 50
# when they try again after 10 minutes.
maxMessageCount: 50
maxMessageTime: 600
# Email address to blacklist, useful to mitigate temporary misuse
emailBlacklist: !env:json:optional EMAIL_BLACKLIST
# ignore tasks with reasonResolved matching something in this list
ignoreTaskReasonResolved:
- canceled
- deadline-exceeded
taskcluster:
rootUrl: !env TASKCLUSTER_ROOT_URL
credentials:
clientId: !env TASKCLUSTER_CLIENT_ID
accessToken: !env TASKCLUSTER_ACCESS_TOKEN
postgres:
readDbUrl: !env READ_DB_URL
writeDbUrl: !env WRITE_DB_URL
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
aws:
accessKeyId: !env AWS_ACCESS_KEY_ID
secretAccessKey: !env AWS_SECRET_ACCESS_KEY
region: !env:optional AWS_REGION
pulse:
hostname: !env PULSE_HOSTNAME
username: !env PULSE_USERNAME
password: !env PULSE_PASSWORD
vhost: !env PULSE_VHOST
namespace: taskcluster-notify
matrix:
baseUrl: !env:optional MATRIX_BASE_URL
accessToken: !env:optional MATRIX_ACCESS_TOKEN
userId: !env:optional MATRIX_USER_ID
slack:
apiUrl: !env:optional SLACK_API_URL
accessToken: !env:optional SLACK_ACCESS_TOKEN
# new relic config (processed in services/prelude.js)
newRelic: !env:json:optional NEW_RELIC
# Configuration of tests
test:
taskcluster:
rootUrl: "https://tc.example.com"
aws:
region: us-east-1
app:
sourceEmail: '"Taskcluster Notify Testing" <[email protected]>'
routePrefix: test-notify
emailBlacklist: []
server:
port: 60401
env: development
forceSSL: false
trustProxy: true