blob: 7d52c17b7496cd8fb08665438057d0c66976fa8f [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. Blair456f2fb2016-02-09 09:29:33 -0800126 tags: merge
James E. Blair4ec821f2012-08-23 15:28:28 -0700127 - name: nonvoting-project-test2
128 voting: false
James E. Blair70c71582013-03-06 08:50:50 -0800129 - name: project-testfile
130 files:
131 - '.*-requires'
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700132 - name: node-project-test1
133 parameter-function: select_debian_node
James E. Blairc8a1e052014-02-25 09:29:26 -0800134 - name: project1-project2-integration
135 queue-name: integration
James E. Blairaf17a972016-02-03 15:07:18 -0800136 - name: mutex-one
137 mutex: test-mutex
138 - name: mutex-two
139 mutex: test-mutex
James E. Blair456f2fb2016-02-09 09:29:33 -0800140 - name: project1-merge
141 tags:
142 - project1
143 - extratag
James E. Blairb0fcae42012-07-17 11:12:10 -0700144
Antoine Musso80edd5a2013-02-13 15:37:53 +0100145project-templates:
146 - name: test-one-and-two
147 check:
148 - '{projectname}-test1'
149 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800150 - name: test-three-and-four
151 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800152 - '{name}-test3'
153 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800154 - name: test-five
155 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800156 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100157
James E. Blairb0fcae42012-07-17 11:12:10 -0700158projects:
159 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700160 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700161 check:
162 - project-merge:
163 - project-test1
164 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800165 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700166 gate:
167 - project-merge:
168 - project-test1
169 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800170 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700171 post:
172 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700173 dup1:
174 - project-test1
175 dup2:
176 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700177
178 - name: org/project1
179 check:
180 - project1-merge:
181 - project1-test1
182 - project1-test2
183 - project1-project2-integration
184 gate:
185 - project1-merge:
186 - project1-test1
187 - project1-test2
188 - project1-project2-integration
189 post:
190 - project1-post
191
192 - name: org/project2
193 check:
194 - project2-merge:
195 - project2-test1
196 - project2-test2
197 - project1-project2-integration
198 gate:
199 - project2-merge:
200 - project2-test1
201 - project2-test2
202 - project1-project2-integration
203 post:
204 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700205
James E. Blair127bc182012-08-28 15:55:15 -0700206 - name: org/project3
207 check:
208 - project3-merge:
209 - project3-test1
210 - project3-test2
211 - project1-project2-integration
212 gate:
213 - project3-merge:
214 - project3-test1
215 - project3-test2
216 - project1-project2-integration
217 post:
218 - project3-post
219
James E. Blair7f71c802012-08-22 13:04:32 -0700220 - name: org/one-job-project
221 check:
222 - one-job-project-merge
223 gate:
224 - one-job-project-merge
225 post:
226 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700227
228 - name: org/nonvoting-project
229 check:
230 - nonvoting-project-merge:
231 - nonvoting-project-test1
232 - nonvoting-project-test2
233 gate:
234 - nonvoting-project-merge:
235 - nonvoting-project-test1
236 - nonvoting-project-test2
237 post:
238 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100239
240 - name: org/templated-project
241 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800242 - name: test-one-and-two
243 projectname: project
244
245 - name: org/layered-project
246 template:
247 - name: test-one-and-two
248 projectname: project
249 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800250 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800251 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800252 check:
253 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700254
255 - name: org/node-project
256 gate:
257 - node-project-merge:
258 - node-project-test1
259 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700260
261 - name: org/conflict-project
262 conflict:
263 - conflict-project-merge:
264 - conflict-project-test1
265 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800266
267 - name: org/noop-project
268 gate:
269 - noop
James E. Blairbadc1ad2014-04-28 13:55:14 -0700270
271 - name: org/experimental-project
272 experimental:
273 - experimental-project-test
Evgeny Antyshevd6e546c2015-06-11 15:13:57 +0000274
275 - name: org/no-jobs-project
276 check:
277 - project-testfile