-
Notifications
You must be signed in to change notification settings - Fork 22
/
branches.json
180 lines (176 loc) · 6.7 KB
/
branches.json
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
// Default server (service) code, internal identification
"primaryServerCode": "apache",
"confidence": 0.995,
"cleanerConfig": {
"numOfItemsToDel": 100000,
"safeDaysForCaches": 180,
"safeDaysForLogs": 90,
"period": 1440
},
/* Teamcity Integration Parameters */
"tcServers": [
{
/* Service Code for internal identification */
"code": "apache",
/** Teamcity Host, HTTPs is highly recommended because of Basic Auth used.*/
"host": "https://ci.ignite.apache.org/",
/** Downloaded build logs relative path. */
"logsDir": "apache_logs",
/** Default tracked branch name in internal identification of TC bot. */
"defaultTrackedBranch": "master",
/** Time as auto-triggering build is disabled. ISO time formatting must be used, e.g. 09:00:00. Should be set simultaneusly with autoTriggeringBuildDisabledEndTime. */
// "autoTriggeringBuildDisabledStartTime": "07:00:00",
/** Time as auto-triggering build is enabled. ISO time formatting must be used, e.g. 18:00:00. Should be set simultaneusly with autoTriggeringBuildDisabledStartTime. */
// "autoTriggeringBuildDisabledEndTime": "20:00:00",
/** Build parameters, which may be used for filtering Run history and tagging builds. */
"filteringParameters": [
{
"name": "env.JAVA_HOME",
"selection": [
{"value":"%env.JDK_ORA_18%", "label":"JDK8"},
{"value":"%env.JDK_ORA_8%", "label":"JDK8"},
{"value":"%env.JDK_ORA_9%", "label":"JDK9"},
{"value":"%env.JDK_ORA_10%", "label":"JDK10"},
{"value":"%env.JDK_OPEN_11%", "label":"JDK11"}
]
},
{
"name": "TEST_SCALE_FACTOR",
"selection": [
{"value":"1.0", "label":"S1.0"},
{"value":"0.1", "label":"S0.1"}
]
}
],
/** Build type IDs, which should trigger notifications about any non build problem, and should be blocker in this case. **/
"trustedSuites": [
"IgniteTests24Java8_LicensesHeaders",
"IgniteTests24Java8_CheckCodeStyle",
"IgniteTests24Java8_Javadoc"
]
}
],
/* Set of JIRA servers/projects configured */
"jiraServers": [
{
/* Server code will be referenced in all tracked branches, URLs, etc */
"code": "apache",
/* JIRA project code for commenting tickets. Default project is "IGNITE". */
"projectCode": "IGNITE",
/* Following prefix is to be specified only if it is necessary to separate project code and branches markup in tickets. */
// "branchNumPrefix": "IGNITE-",
/* JIRA Url, HTTPs is highly recommended because of Basic Auth used. */
"url": "https://issues.apache.org/jira/",
/** JIRA Auth token to access,
Base-64 pre-encoded username and password, which will be included into Basic Auth requests.
Encoded token needs to be encrypted using org.apache.ignite.ci.tcbot.conf.PasswordEncoder,
use PasswordEncoder#encodeJiraTok to get from clear username/password */
"authTok": ""
//todo ^ specify token
}
],
/* Set of GitHub services configured: GitHub integration parameters.*/
"gitHubConfigs": [
{
"code": "apache",
/* More for preffering branches gives branch for PR to be default branch for triggering builds on TC. */
"preferBranches": false,
/** Branch identification rules: PR-less contribution branch name mandatory prefix */
"branchPrefix": "ignite-",
/*
Specify GitHub Auth token (if needed), go to User->Settings->Developers options->create new.
Created token needs to be encrypted using org.apache.ignite.ci.tcbot.conf.PasswordEncoder,
use {@link org.apache.ignite.ci.conf.PasswordEncoder#encode} to set up value in a config.
Git Auth token encoded to access non-public GitHub repos. For public GitHub repos token gives more velocity.
*/
"authTok": "",
//todo ^ specify token
/* REST API Url for GitHub. Includes owner (apache) and project (ignite). */
"apiUrl": "https://api.github.com/repos/apache/ignite/"
}
],
"notifications": {
/* Email sending settings */
"email": {
/* Username, and 'from' field for emails. */
"username": "ignitetcbot@gmail.com",
"auth": true,
/** Email password encoded using Password Encoder. */
"pwd": "",
//todo ^ specify password or set auth to false
"smtp": {
/** Host or IP */
"host": "127.0.0.1",
/** Default is 25 for non-ssl, 465 for ssl enabled */
"port": 465,
/** SSL enabled, default true */
"ssl": true
}
},
"channels": [
{
"email": "dev@ignite.apache.org",
"subscribed": [
"master", "master-nightly"
]
}
]
},
"branches": [
{
"id": "master",
"chains": [
{
"serverId": "apache",
"suiteId": "IgniteTests24Java8_RunAll",
"branchForRest": "\u003cdefault\u003e"
}
],
/* Disable notifications for the following issue types. See {@link IssueType#code()}. */
"disableIssueTypes": []
},
{
"id": "master-nightly",
"chains": [
{
"serverId": "apache",
"suiteId": "IgniteTests24Java8_RunAllNightly",
"branchForRest": "\u003cdefault\u003e",
"triggerBuild": true,
/* Triggering quiet period in minutes. Protects from too-often triggering in case build is too fast, e.g. compilation failure. */
"triggerBuildQuietPeriod": 30,
/** List of build parameters should be specified for triggering build. Each parameter should have name and may have randomly selected or fixed value. */
"triggerParameters": [
{
"name": "reverse.dep.*.env.JAVA_HOME",
"randomValue": true,
"selection": [
{"value":"%env.JDK_ORA_18%", "label":"JDK8"},
{"value":"%env.JDK_OPEN_11%", "label":"JDK11"}
]
}
]
}
],
/* Disable notifications for the following issue types. See {@link IssueType#code()}. */
"disableIssueTypes": []
},
{
"id": "ignite-2.11-nightly",
"chains": [
{
"serverId": "apache",
"suiteId": "IgniteTests24Java8_RunAllNightly",
"branchForRest": "ignite-2.11",
"baseBranchForTc": "ignite-2.10",
"triggerBuild": true,
//trigger twice per day
"triggerBuildQuietPeriod": 720 //triggering quiet period in minutes,
}
],
/* Disable notifications for the following issue types. See {@link IssueType#code()}. */
"disableIssueTypes": []
}
]
}