blob: e30147f7ce8056d71d339de0317a84c240ccbda1 [file] [log] [blame]
James E. Blair1f4c2bb2013-04-26 08:40:46 -07001includes:
2 - python-file: custom_functions.py
3
James E. Blair4aea70c2012-07-26 14:23:24 -07004pipelines:
James E. Blairb0fcae42012-07-17 11:12:10 -07005 - name: check
James E. Blair83005782015-12-11 14:46:03 -08006 manager: independent
James E. Blair59fdbac2015-12-07 17:08:06 -08007 source:
8 gerrit
James E. Blairb0fcae42012-07-17 11:12:10 -07009 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070010 gerrit:
11 - event: patchset-created
James E. Blairb0fcae42012-07-17 11:12:10 -070012 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100013 gerrit:
14 verified: 1
James E. Blairb0fcae42012-07-17 11:12:10 -070015 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100016 gerrit:
17 verified: -1
James E. Blairb0fcae42012-07-17 11:12:10 -070018
19 - name: post
James E. Blair83005782015-12-11 14:46:03 -080020 manager: independent
James E. Blair59fdbac2015-12-07 17:08:06 -080021 source:
22 gerrit
James E. Blairb0fcae42012-07-17 11:12:10 -070023 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070024 gerrit:
25 - event: ref-updated
26 ref: ^(?!refs/).*$
James E. Blairb0fcae42012-07-17 11:12:10 -070027
28 - name: gate
James E. Blair83005782015-12-11 14:46:03 -080029 manager: dependent
James E. Blair56370192013-01-14 15:47:28 -080030 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
James E. Blair59fdbac2015-12-07 17:08:06 -080031 source:
32 gerrit
James E. Blairb0fcae42012-07-17 11:12:10 -070033 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070034 gerrit:
35 - event: comment-added
36 approval:
37 - approved: 1
James E. Blairb0fcae42012-07-17 11:12:10 -070038 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100039 gerrit:
40 verified: 2
41 submit: true
James E. Blairb0fcae42012-07-17 11:12:10 -070042 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100043 gerrit:
44 verified: -2
James E. Blairb0fcae42012-07-17 11:12:10 -070045 start:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100046 gerrit:
47 verified: 0
James E. Blair64ed6f22013-07-10 14:07:23 -070048 precedence: high
James E. Blairb0fcae42012-07-17 11:12:10 -070049
James E. Blaird09c17a2012-08-07 09:23:14 -070050 - name: unused
James E. Blair83005782015-12-11 14:46:03 -080051 manager: independent
James E. Blair2fa50962013-01-30 21:50:41 -080052 dequeue-on-new-patchset: false
James E. Blair59fdbac2015-12-07 17:08:06 -080053 source:
54 gerrit
James E. Blaird09c17a2012-08-07 09:23:14 -070055 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070056 gerrit:
57 - event: comment-added
58 approval:
59 - approved: 1
James E. Blaird09c17a2012-08-07 09:23:14 -070060
James E. Blair42f74822013-05-14 15:18:03 -070061 - name: dup1
James E. Blair83005782015-12-11 14:46:03 -080062 manager: independent
James E. Blair59fdbac2015-12-07 17:08:06 -080063 source:
64 gerrit
James E. Blair42f74822013-05-14 15:18:03 -070065 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070066 gerrit:
67 - event: change-restored
James E. Blair42f74822013-05-14 15:18:03 -070068 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100069 gerrit:
70 verified: 1
James E. Blair42f74822013-05-14 15:18:03 -070071 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100072 gerrit:
73 verified: -1
James E. Blair42f74822013-05-14 15:18:03 -070074
75 - name: dup2
James E. Blair83005782015-12-11 14:46:03 -080076 manager: independent
James E. Blair59fdbac2015-12-07 17:08:06 -080077 source:
78 gerrit
James E. Blair42f74822013-05-14 15:18:03 -070079 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070080 gerrit:
81 - event: change-restored
James E. Blair42f74822013-05-14 15:18:03 -070082 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100083 gerrit:
84 verified: 1
James E. Blair42f74822013-05-14 15:18:03 -070085 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100086 gerrit:
87 verified: -1
James E. Blair42f74822013-05-14 15:18:03 -070088
James E. Blair6736beb2013-07-11 15:18:15 -070089 - name: conflict
James E. Blair83005782015-12-11 14:46:03 -080090 manager: dependent
James E. Blair6736beb2013-07-11 15:18:15 -070091 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
James E. Blair59fdbac2015-12-07 17:08:06 -080092 source:
93 gerrit
James E. Blair6736beb2013-07-11 15:18:15 -070094 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070095 gerrit:
96 - event: comment-added
97 approval:
98 - approved: 1
James E. Blair6736beb2013-07-11 15:18:15 -070099 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +1000100 gerrit:
101 verified: 2
102 submit: true
James E. Blair6736beb2013-07-11 15:18:15 -0700103 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +1000104 gerrit:
105 verified: -2
James E. Blair6736beb2013-07-11 15:18:15 -0700106 start:
Joshua Hesketh1879cf72013-08-19 14:13:15 +1000107 gerrit:
108 verified: 0
James E. Blair42f74822013-05-14 15:18:03 -0700109
James E. Blairbadc1ad2014-04-28 13:55:14 -0700110 - name: experimental
James E. Blair83005782015-12-11 14:46:03 -0800111 manager: independent
James E. Blair59fdbac2015-12-07 17:08:06 -0800112 source:
113 gerrit
James E. Blairbadc1ad2014-04-28 13:55:14 -0700114 trigger:
115 gerrit:
116 - event: patchset-created
117 success:
118 gerrit: {}
119 failure:
120 gerrit: {}
121
James E. Blairb0fcae42012-07-17 11:12:10 -0700122jobs:
123 - name: ^.*-merge$
124 failure-message: Unable to merge change
125 hold-following-changes: true
James E. Blair4ec821f2012-08-23 15:28:28 -0700126 - name: nonvoting-project-test2
127 voting: false
James E. Blair70c71582013-03-06 08:50:50 -0800128 - name: project-testfile
129 files:
130 - '.*-requires'
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700131 - name: node-project-test1
132 parameter-function: select_debian_node
James E. Blairc8a1e052014-02-25 09:29:26 -0800133 - name: project1-project2-integration
134 queue-name: integration
James E. Blairb0fcae42012-07-17 11:12:10 -0700135
Antoine Musso80edd5a2013-02-13 15:37:53 +0100136project-templates:
137 - name: test-one-and-two
138 check:
139 - '{projectname}-test1'
140 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800141 - name: test-three-and-four
142 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800143 - '{name}-test3'
144 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800145 - name: test-five
146 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800147 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100148
James E. Blairb0fcae42012-07-17 11:12:10 -0700149projects:
150 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700151 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700152 check:
153 - project-merge:
154 - project-test1
155 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800156 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700157 gate:
158 - project-merge:
159 - project-test1
160 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800161 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700162 post:
163 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700164 dup1:
165 - project-test1
166 dup2:
167 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700168
169 - name: org/project1
170 check:
171 - project1-merge:
172 - project1-test1
173 - project1-test2
174 - project1-project2-integration
175 gate:
176 - project1-merge:
177 - project1-test1
178 - project1-test2
179 - project1-project2-integration
180 post:
181 - project1-post
182
183 - name: org/project2
184 check:
185 - project2-merge:
186 - project2-test1
187 - project2-test2
188 - project1-project2-integration
189 gate:
190 - project2-merge:
191 - project2-test1
192 - project2-test2
193 - project1-project2-integration
194 post:
195 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700196
James E. Blair127bc182012-08-28 15:55:15 -0700197 - name: org/project3
198 check:
199 - project3-merge:
200 - project3-test1
201 - project3-test2
202 - project1-project2-integration
203 gate:
204 - project3-merge:
205 - project3-test1
206 - project3-test2
207 - project1-project2-integration
208 post:
209 - project3-post
210
James E. Blair7f71c802012-08-22 13:04:32 -0700211 - name: org/one-job-project
212 check:
213 - one-job-project-merge
214 gate:
215 - one-job-project-merge
216 post:
217 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700218
219 - name: org/nonvoting-project
220 check:
221 - nonvoting-project-merge:
222 - nonvoting-project-test1
223 - nonvoting-project-test2
224 gate:
225 - nonvoting-project-merge:
226 - nonvoting-project-test1
227 - nonvoting-project-test2
228 post:
229 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100230
231 - name: org/templated-project
232 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800233 - name: test-one-and-two
234 projectname: project
235
236 - name: org/layered-project
237 template:
238 - name: test-one-and-two
239 projectname: project
240 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800241 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800242 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800243 check:
244 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700245
246 - name: org/node-project
247 gate:
248 - node-project-merge:
249 - node-project-test1
250 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700251
252 - name: org/conflict-project
253 conflict:
254 - conflict-project-merge:
255 - conflict-project-test1
256 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800257
258 - name: org/noop-project
259 gate:
260 - noop
James E. Blairbadc1ad2014-04-28 13:55:14 -0700261
262 - name: org/experimental-project
263 experimental:
264 - experimental-project-test
Evgeny Antyshevd6e546c2015-06-11 15:13:57 +0000265
266 - name: org/no-jobs-project
267 check:
268 - project-testfile