blob: b1c94de0cef7c45e6713985303e3f37979c42f28 [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. Blairb0fcae42012-07-17 11:12:10 -070096jobs:
97 - name: ^.*-merge$
98 failure-message: Unable to merge change
99 hold-following-changes: true
James E. Blair4ec821f2012-08-23 15:28:28 -0700100 - name: nonvoting-project-test2
101 voting: false
James E. Blair70c71582013-03-06 08:50:50 -0800102 - name: project-testfile
103 files:
104 - '.*-requires'
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700105 - name: node-project-test1
106 parameter-function: select_debian_node
James E. Blairb0fcae42012-07-17 11:12:10 -0700107
Antoine Musso80edd5a2013-02-13 15:37:53 +0100108project-templates:
109 - name: test-one-and-two
110 check:
111 - '{projectname}-test1'
112 - '{projectname}-test2'
James E. Blair3e98c022013-12-16 15:25:38 -0800113 - name: test-three-and-four
114 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800115 - '{name}-test3'
116 - '{name}-test4'
James E. Blair3e98c022013-12-16 15:25:38 -0800117 - name: test-five
118 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800119 - '{name}-{something}-test5'
James E. Blair3e98c022013-12-16 15:25:38 -0800120 - name: test-five-also
121 check:
James E. Blairaea6cf62013-12-16 15:38:12 -0800122 - '{name}-{something}-test5'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100123
James E. Blairb0fcae42012-07-17 11:12:10 -0700124projects:
125 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700126 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700127 check:
128 - project-merge:
129 - project-test1
130 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800131 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700132 gate:
133 - project-merge:
134 - project-test1
135 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800136 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700137 post:
138 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700139 dup1:
140 - project-test1
141 dup2:
142 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700143
144 - name: org/project1
145 check:
146 - project1-merge:
147 - project1-test1
148 - project1-test2
149 - project1-project2-integration
150 gate:
151 - project1-merge:
152 - project1-test1
153 - project1-test2
154 - project1-project2-integration
155 post:
156 - project1-post
157
158 - name: org/project2
159 check:
160 - project2-merge:
161 - project2-test1
162 - project2-test2
163 - project1-project2-integration
164 gate:
165 - project2-merge:
166 - project2-test1
167 - project2-test2
168 - project1-project2-integration
169 post:
170 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700171
James E. Blair127bc182012-08-28 15:55:15 -0700172 - name: org/project3
173 check:
174 - project3-merge:
175 - project3-test1
176 - project3-test2
177 - project1-project2-integration
178 gate:
179 - project3-merge:
180 - project3-test1
181 - project3-test2
182 - project1-project2-integration
183 post:
184 - project3-post
185
James E. Blair7f71c802012-08-22 13:04:32 -0700186 - name: org/one-job-project
187 check:
188 - one-job-project-merge
189 gate:
190 - one-job-project-merge
191 post:
192 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700193
194 - name: org/nonvoting-project
195 check:
196 - nonvoting-project-merge:
197 - nonvoting-project-test1
198 - nonvoting-project-test2
199 gate:
200 - nonvoting-project-merge:
201 - nonvoting-project-test1
202 - nonvoting-project-test2
203 post:
204 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100205
206 - name: org/templated-project
207 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800208 - name: test-one-and-two
209 projectname: project
210
211 - name: org/layered-project
212 template:
213 - name: test-one-and-two
214 projectname: project
215 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800216 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800217 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800218 - name: test-five-also
James E. Blairaea6cf62013-12-16 15:38:12 -0800219 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800220 check:
221 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700222
223 - name: org/node-project
224 gate:
225 - node-project-merge:
226 - node-project-test1
227 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700228
229 - name: org/conflict-project
230 conflict:
231 - conflict-project-merge:
232 - conflict-project-test1
233 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800234
235 - name: org/noop-project
236 gate:
237 - noop