forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
93 lines (84 loc) · 2.93 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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
denylistedNotificationTableName: DenylistedNotification
# 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
azure:
accountId: !env AZURE_ACCOUNT_ID
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
# All optional. If not specified, irc just won't work
irc:
server: !env:optional IRC_SERVER
nick: !env:optional IRC_NICK
userName: !env:optional IRC_USER_NAME
realName: !env:optional IRC_REAL_NAME
password: !env:optional IRC_PASSWORD
port: !env:optional IRC_PORT
debug: !env:optional IRC_DEBUG
pulseQueueName: !env:optional IRC_PULSE_QUEUE_NAME
# Configuration in production
production:
server:
env: production
irc:
port: 6697
pulseQueueName: irc-notifications
pulse:
namespace: taskcluster-notify
# Configuration of tests
test:
aws:
region: us-east-1
app:
sourceEmail: '"Taskcluster Notify Testing" <taskcluster-noreply-testing@mozilla.com>'
sqsQueueName: taskcluster-notify-test-irc
routePrefix: test-notify
denylistedNotificationTableName: TestDenylistedNotification
emailBlacklist: []
azure:
accountId: 'pamplemousse'
server:
port: 60401
env: development
forceSSL: false
trustProxy: true
irc:
server: irc.mozilla.org
nick: taskcluster-test
userName: taskcluster-test
realName: Taskcluster Test Robot
port: 6697
pulseQueueName: irc-test-notifications