blob: 1d2344370a0a94985f6b56c63f463faa2a6310c3 [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. Blairb0fcae42012-07-17 11:12:10 -0700119
Antoine Musso80edd5a2013-02-13 15:37:53 +0100120project-templates:
121 - name: test-one-and-two
122 check:
123 - '{projectname}-test1'
124 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800125 - name: test-three-and-four
126 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800127 - '{name}-test3'
128 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800129 - name: test-five
130 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800131 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100132
James E. Blairb0fcae42012-07-17 11:12:10 -0700133projects:
134 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700135 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700136 check:
137 - project-merge:
138 - project-test1
139 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800140 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700141 gate:
142 - project-merge:
143 - project-test1
144 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800145 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700146 post:
147 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700148 dup1:
149 - project-test1
150 dup2:
151 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700152
153 - name: org/project1
154 check:
155 - project1-merge:
156 - project1-test1
157 - project1-test2
158 - project1-project2-integration
159 gate:
160 - project1-merge:
161 - project1-test1
162 - project1-test2
163 - project1-project2-integration
164 post:
165 - project1-post
166
167 - name: org/project2
168 check:
169 - project2-merge:
170 - project2-test1
171 - project2-test2
172 - project1-project2-integration
173 gate:
174 - project2-merge:
175 - project2-test1
176 - project2-test2
177 - project1-project2-integration
178 post:
179 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700180
James E. Blair127bc182012-08-28 15:55:15 -0700181 - name: org/project3
182 check:
183 - project3-merge:
184 - project3-test1
185 - project3-test2
186 - project1-project2-integration
187 gate:
188 - project3-merge:
189 - project3-test1
190 - project3-test2
191 - project1-project2-integration
192 post:
193 - project3-post
194
James E. Blair7f71c802012-08-22 13:04:32 -0700195 - name: org/one-job-project
196 check:
197 - one-job-project-merge
198 gate:
199 - one-job-project-merge
200 post:
201 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700202
203 - name: org/nonvoting-project
204 check:
205 - nonvoting-project-merge:
206 - nonvoting-project-test1
207 - nonvoting-project-test2
208 gate:
209 - nonvoting-project-merge:
210 - nonvoting-project-test1
211 - nonvoting-project-test2
212 post:
213 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100214
215 - name: org/templated-project
216 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800217 - name: test-one-and-two
218 projectname: project
219
220 - name: org/layered-project
221 template:
222 - name: test-one-and-two
223 projectname: project
224 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800225 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800226 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800227 check:
228 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700229
230 - name: org/node-project
231 gate:
232 - node-project-merge:
233 - node-project-test1
234 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700235
236 - name: org/conflict-project
237 conflict:
238 - conflict-project-merge:
239 - conflict-project-test1
240 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800241
242 - name: org/noop-project
243 gate:
244 - noop
James E. Blairbadc1ad2014-04-28 13:55:14 -0700245
246 - name: org/experimental-project
247 experimental:
248 - experimental-project-test
Evgeny Antyshevd6e546c2015-06-11 15:13:57 +0000249
250 - name: org/no-jobs-project
251 check:
252 - project-testfile