blob: 2e48ff1d0cc4b5a525148928d2cb91ec0f725b82 [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. Blair4aea70c2012-07-26 14:23:24 -07006 manager: IndependentPipelineManager
James E. Blairb0fcae42012-07-17 11:12:10 -07007 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -07008 gerrit:
9 - event: patchset-created
James E. Blairb0fcae42012-07-17 11:12:10 -070010 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100011 gerrit:
12 verified: 1
James E. Blairb0fcae42012-07-17 11:12:10 -070013 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100014 gerrit:
15 verified: -1
James E. Blairb0fcae42012-07-17 11:12:10 -070016
17 - name: post
James E. Blair4aea70c2012-07-26 14:23:24 -070018 manager: IndependentPipelineManager
James E. Blairb0fcae42012-07-17 11:12:10 -070019 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070020 gerrit:
21 - event: ref-updated
22 ref: ^(?!refs/).*$
James E. Blairb0fcae42012-07-17 11:12:10 -070023
24 - name: gate
James E. Blair4aea70c2012-07-26 14:23:24 -070025 manager: DependentPipelineManager
James E. Blair56370192013-01-14 15:47:28 -080026 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
James E. Blairb0fcae42012-07-17 11:12:10 -070027 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070028 gerrit:
29 - event: comment-added
30 approval:
31 - approved: 1
James E. Blairb0fcae42012-07-17 11:12:10 -070032 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100033 gerrit:
34 verified: 2
35 submit: true
James E. Blairb0fcae42012-07-17 11:12:10 -070036 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100037 gerrit:
38 verified: -2
James E. Blairb0fcae42012-07-17 11:12:10 -070039 start:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100040 gerrit:
41 verified: 0
James E. Blair64ed6f22013-07-10 14:07:23 -070042 precedence: high
James E. Blairb0fcae42012-07-17 11:12:10 -070043
James E. Blaird09c17a2012-08-07 09:23:14 -070044 - name: unused
45 manager: IndependentPipelineManager
James E. Blair2fa50962013-01-30 21:50:41 -080046 dequeue-on-new-patchset: false
James E. Blaird09c17a2012-08-07 09:23:14 -070047 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070048 gerrit:
49 - event: comment-added
50 approval:
51 - approved: 1
James E. Blaird09c17a2012-08-07 09:23:14 -070052
James E. Blair42f74822013-05-14 15:18:03 -070053 - name: dup1
54 manager: IndependentPipelineManager
55 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070056 gerrit:
57 - event: change-restored
James E. Blair42f74822013-05-14 15:18:03 -070058 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100059 gerrit:
60 verified: 1
James E. Blair42f74822013-05-14 15:18:03 -070061 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100062 gerrit:
63 verified: -1
James E. Blair42f74822013-05-14 15:18:03 -070064
65 - name: dup2
66 manager: IndependentPipelineManager
67 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070068 gerrit:
69 - event: change-restored
James E. Blair42f74822013-05-14 15:18:03 -070070 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100071 gerrit:
72 verified: 1
James E. Blair42f74822013-05-14 15:18:03 -070073 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100074 gerrit:
75 verified: -1
James E. Blair42f74822013-05-14 15:18:03 -070076
James E. Blair6736beb2013-07-11 15:18:15 -070077 - name: conflict
James E. Blair6736beb2013-07-11 15:18:15 -070078 manager: DependentPipelineManager
79 failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
80 trigger:
James E. Blair6c358e72013-07-29 17:06:47 -070081 gerrit:
82 - event: comment-added
83 approval:
84 - approved: 1
James E. Blair6736beb2013-07-11 15:18:15 -070085 success:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100086 gerrit:
87 verified: 2
88 submit: true
James E. Blair6736beb2013-07-11 15:18:15 -070089 failure:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100090 gerrit:
91 verified: -2
James E. Blair6736beb2013-07-11 15:18:15 -070092 start:
Joshua Hesketh1879cf72013-08-19 14:13:15 +100093 gerrit:
94 verified: 0
James E. Blair42f74822013-05-14 15:18:03 -070095
James E. Blairbadc1ad2014-04-28 13:55:14 -070096 - name: experimental
97 manager: IndependentPipelineManager
98 trigger:
99 gerrit:
100 - event: patchset-created
101 success:
102 gerrit: {}
103 failure:
104 gerrit: {}
105
James E. Blairb0fcae42012-07-17 11:12:10 -0700106jobs:
107 - name: ^.*-merge$
108 failure-message: Unable to merge change
109 hold-following-changes: true
James E. Blair456f2fb2016-02-09 09:29:33 -0800110 tags: merge
James E. Blair4ec821f2012-08-23 15:28:28 -0700111 - name: nonvoting-project-test2
112 voting: false
James E. Blair70c71582013-03-06 08:50:50 -0800113 - name: project-testfile
114 files:
115 - '.*-requires'
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700116 - name: node-project-test1
117 parameter-function: select_debian_node
James E. Blairc8a1e052014-02-25 09:29:26 -0800118 - name: project1-project2-integration
119 queue-name: integration
James E. Blairaf17a972016-02-03 15:07:18 -0800120 - name: mutex-one
121 mutex: test-mutex
122 - name: mutex-two
123 mutex: test-mutex
James E. Blair456f2fb2016-02-09 09:29:33 -0800124 - name: project1-merge
125 tags:
126 - project1
127 - extratag
James E. Blairb0fcae42012-07-17 11:12:10 -0700128
Antoine Musso80edd5a2013-02-13 15:37:53 +0100129project-templates:
130 - name: test-one-and-two
131 check:
132 - '{projectname}-test1'
133 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800134 - name: test-three-and-four
135 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800136 - '{name}-test3'
137 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800138 - name: test-five
139 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800140 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100141
James E. Blairb0fcae42012-07-17 11:12:10 -0700142projects:
143 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700144 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700145 check:
146 - project-merge:
147 - project-test1
148 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800149 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700150 gate:
151 - project-merge:
152 - project-test1
153 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800154 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700155 post:
156 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700157 dup1:
158 - project-test1
159 dup2:
160 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700161
162 - name: org/project1
163 check:
164 - project1-merge:
165 - project1-test1
166 - project1-test2
167 - project1-project2-integration
168 gate:
169 - project1-merge:
170 - project1-test1
171 - project1-test2
172 - project1-project2-integration
173 post:
174 - project1-post
175
176 - name: org/project2
177 check:
178 - project2-merge:
179 - project2-test1
180 - project2-test2
181 - project1-project2-integration
182 gate:
183 - project2-merge:
184 - project2-test1
185 - project2-test2
186 - project1-project2-integration
187 post:
188 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700189
James E. Blair127bc182012-08-28 15:55:15 -0700190 - name: org/project3
191 check:
192 - project3-merge:
193 - project3-test1
194 - project3-test2
195 - project1-project2-integration
196 gate:
197 - project3-merge:
198 - project3-test1
199 - project3-test2
200 - project1-project2-integration
201 post:
202 - project3-post
203
James E. Blair7f71c802012-08-22 13:04:32 -0700204 - name: org/one-job-project
205 check:
206 - one-job-project-merge
207 gate:
208 - one-job-project-merge
209 post:
210 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700211
212 - name: org/nonvoting-project
213 check:
214 - nonvoting-project-merge:
215 - nonvoting-project-test1
216 - nonvoting-project-test2
217 gate:
218 - nonvoting-project-merge:
219 - nonvoting-project-test1
220 - nonvoting-project-test2
221 post:
222 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100223
224 - name: org/templated-project
225 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800226 - name: test-one-and-two
227 projectname: project
228
229 - name: org/layered-project
230 template:
231 - name: test-one-and-two
232 projectname: project
233 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800234 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800235 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800236 check:
237 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700238
239 - name: org/node-project
240 gate:
241 - node-project-merge:
242 - node-project-test1
243 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700244
245 - name: org/conflict-project
246 conflict:
247 - conflict-project-merge:
248 - conflict-project-test1
249 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800250
251 - name: org/noop-project
252 gate:
253 - noop
James E. Blairbadc1ad2014-04-28 13:55:14 -0700254
255 - name: org/experimental-project
256 experimental:
257 - experimental-project-test
Evgeny Antyshevd6e546c2015-06-11 15:13:57 +0000258
259 - name: org/no-jobs-project
260 check:
261 - project-testfile