-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-dist.js
70 lines (68 loc) · 2.39 KB
/
config-dist.js
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
var config = {
myUserId: "@bot:matrix.freelock.com",
myAccessToken: "",
admins: ['don','chris','rafael','john'],
adminHomeServer: 'matrix.freelock.com',
stateName: 'com.freelock.project',
releaseName: 'com.freelock.release',
defaultReleaseManager: 'john',
defaultProjectManager: 'don',
reminderName: 'com.freelock.reminder',
concourseDir: '/path/to/pipelines',
concoursePipelineCmd: './set_pipeline.sh',
concourseUser: 'username',
concoursePass: 'password',
concourseCredentials: '~/credentials.yaml',
auriga: {
auth: 'username:pass',
hostname: 'host.freelock.com',
protocol: 'https:',
path: '/auriga/store/',
port: 443
},
homeroom: '!hXysgSAERKRcnuFn:matrix.freelock.com',
deployroom: '!hXysgSAERKRcnuFn:matrix.freelock.com',
sources: {
taiga: 'https://taiga.freelock.com/project/{alias}/{itemtype}/{id}',
auriga: 'https://intranet.freelock.com/auriga2/task/{id}',
carina: 'https://projects.freelock.com/{alias}/node/{id}',
atrium: 'https://intranet.freelock.com/atrium/{alias}/node/{id}'
},
notelifyMergeFile: '',
notelifyFrom: '[email protected]',
notelifyCC: '[email protected]',
mjmlPath: '/path/to/template/dir',
releasePolicies: {
'R': {policyType: 'notif', short: 'Notify on release'},
'2H': {policyType: 'notif', short: '2 hour notification'},
'1D': {policyType: 'notif', short: '1 day notification', default: true},
'2D': {policyType: 'notif', short: '2 day notification'},
'NO': {policyType: 'notif', short: 'Notify and hold'},
'WDA': {policyType: 'window', short: 'Weekday AM'},
'WDP': {policyType: 'window', short: 'Weekday PM'},
'WDE': {policyType: 'window', short: 'Weekday Eve'},
'WEE': {policyType: 'window', short: 'Weekend Eve'},
'A': {policyType: 'window', short: 'Anytime', default: true}
},
nodeMailerConfig: {
host: 'mailjet',
port: 25,
secure: false
// auth: {
// user: 'user',
// pass: 'pass'
// }
},
modules: [
'./lib/drupalLogin',
'./lib/release',
'./lib/drupalState',
'./lib/siteStatus',
'./lib/concoursePipelines',
'./lib/auriga',
'./lib/taiga',
'./lib/remind',
'./lib/notelify'
]
};
module.exports = config;