blob: e8f035e5f451ac003d7b8d2a6647d4b7f8e45cc7 [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. Blair4ec821f2012-08-23 15:28:28 -0700110 - name: nonvoting-project-test2
111 voting: false
James E. Blair70c71582013-03-06 08:50:50 -0800112 - name: project-testfile
113 files:
114 - '.*-requires'
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700115 - name: node-project-test1
116 parameter-function: select_debian_node
James E. Blairc8a1e052014-02-25 09:29:26 -0800117 - name: project1-project2-integration
118 queue-name: integration
James E. Blairaf17a972016-02-03 15:07:18 -0800119 - name: mutex-one
120 mutex: test-mutex
121 - name: mutex-two
122 mutex: test-mutex
James E. Blairb0fcae42012-07-17 11:12:10 -0700123
Antoine Musso80edd5a2013-02-13 15:37:53 +0100124project-templates:
125 - name: test-one-and-two
126 check:
127 - '{projectname}-test1'
128 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800129 - name: test-three-and-four
130 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800131 - '{name}-test3'
132 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800133 - name: test-five
134 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800135 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100136
James E. Blairb0fcae42012-07-17 11:12:10 -0700137projects:
138 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700139 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700140 check:
141 - project-merge:
142 - project-test1
143 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800144 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700145 gate:
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 post:
151 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700152 dup1:
153 - project-test1
154 dup2:
155 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700156
157 - name: org/project1
158 check:
159 - project1-merge:
160 - project1-test1
161 - project1-test2
162 - project1-project2-integration
163 gate:
164 - project1-merge:
165 - project1-test1
166 - project1-test2
167 - project1-project2-integration
168 post:
169 - project1-post
170
171 - name: org/project2
172 check:
173 - project2-merge:
174 - project2-test1
175 - project2-test2
176 - project1-project2-integration
177 gate:
178 - project2-merge:
179 - project2-test1
180 - project2-test2
181 - project1-project2-integration
182 post:
183 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700184
James E. Blair127bc182012-08-28 15:55:15 -0700185 - name: org/project3
186 check:
187 - project3-merge:
188 - project3-test1
189 - project3-test2
190 - project1-project2-integration
191 gate:
192 - project3-merge:
193 - project3-test1
194 - project3-test2
195 - project1-project2-integration
196 post:
197 - project3-post
198
James E. Blair7f71c802012-08-22 13:04:32 -0700199 - name: org/one-job-project
200 check:
201 - one-job-project-merge
202 gate:
203 - one-job-project-merge
204 post:
205 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700206
207 - name: org/nonvoting-project
208 check:
209 - nonvoting-project-merge:
210 - nonvoting-project-test1
211 - nonvoting-project-test2
212 gate:
213 - nonvoting-project-merge:
214 - nonvoting-project-test1
215 - nonvoting-project-test2
216 post:
217 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100218
219 - name: org/templated-project
220 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800221 - name: test-one-and-two
222 projectname: project
223
224 - name: org/layered-project
225 template:
226 - name: test-one-and-two
227 projectname: project
228 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800229 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800230 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800231 check:
232 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700233
234 - name: org/node-project
235 gate:
236 - node-project-merge:
237 - node-project-test1
238 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700239
240 - name: org/conflict-project
241 conflict:
242 - conflict-project-merge:
243 - conflict-project-test1
244 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800245
246 - name: org/noop-project
247 gate:
248 - noop
James E. Blairbadc1ad2014-04-28 13:55:14 -0700249
250 - name: org/experimental-project
251 experimental:
252 - experimental-project-test
Evgeny Antyshevd6e546c2015-06-11 15:13:57 +0000253
254 - name: org/no-jobs-project
255 check:
256 - project-testfile