blob: b02c7829b74ce77d116e5864cd0337a4fc59eb5b [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'
Antoine Musso80edd5a2013-02-13 15:37:53 +0100120
James E. Blairb0fcae42012-07-17 11:12:10 -0700121projects:
122 - name: org/project
James E. Blair4886cc12012-07-18 15:39:41 -0700123 merge-mode: cherry-pick
James E. Blairb0fcae42012-07-17 11:12:10 -0700124 check:
125 - project-merge:
126 - project-test1
127 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800128 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700129 gate:
130 - project-merge:
131 - project-test1
132 - project-test2
James E. Blair70c71582013-03-06 08:50:50 -0800133 - project-testfile
James E. Blairb0fcae42012-07-17 11:12:10 -0700134 post:
135 - project-post
James E. Blair42f74822013-05-14 15:18:03 -0700136 dup1:
137 - project-test1
138 dup2:
139 - project-test1
James E. Blairb02a3bb2012-07-30 17:49:55 -0700140
141 - name: org/project1
142 check:
143 - project1-merge:
144 - project1-test1
145 - project1-test2
146 - project1-project2-integration
147 gate:
148 - project1-merge:
149 - project1-test1
150 - project1-test2
151 - project1-project2-integration
152 post:
153 - project1-post
154
155 - name: org/project2
156 check:
157 - project2-merge:
158 - project2-test1
159 - project2-test2
160 - project1-project2-integration
161 gate:
162 - project2-merge:
163 - project2-test1
164 - project2-test2
165 - project1-project2-integration
166 post:
167 - project2-post
James E. Blair7f71c802012-08-22 13:04:32 -0700168
James E. Blair127bc182012-08-28 15:55:15 -0700169 - name: org/project3
170 check:
171 - project3-merge:
172 - project3-test1
173 - project3-test2
174 - project1-project2-integration
175 gate:
176 - project3-merge:
177 - project3-test1
178 - project3-test2
179 - project1-project2-integration
180 post:
181 - project3-post
182
James E. Blair7f71c802012-08-22 13:04:32 -0700183 - name: org/one-job-project
184 check:
185 - one-job-project-merge
186 gate:
187 - one-job-project-merge
188 post:
189 - one-job-project-post
James E. Blair4ec821f2012-08-23 15:28:28 -0700190
191 - name: org/nonvoting-project
192 check:
193 - nonvoting-project-merge:
194 - nonvoting-project-test1
195 - nonvoting-project-test2
196 gate:
197 - nonvoting-project-merge:
198 - nonvoting-project-test1
199 - nonvoting-project-test2
200 post:
201 - nonvoting-project-post
Antoine Musso80edd5a2013-02-13 15:37:53 +0100202
203 - name: org/templated-project
204 template:
James E. Blair3e98c022013-12-16 15:25:38 -0800205 - name: test-one-and-two
206 projectname: project
207
208 - name: org/layered-project
209 template:
210 - name: test-one-and-two
211 projectname: project
212 - name: test-three-and-four
James E. Blair3e98c022013-12-16 15:25:38 -0800213 - name: test-five
James E. Blairaea6cf62013-12-16 15:38:12 -0800214 something: foo
James E. Blair3e98c022013-12-16 15:25:38 -0800215 check:
216 - project-test6
James E. Blair1f4c2bb2013-04-26 08:40:46 -0700217
218 - name: org/node-project
219 gate:
220 - node-project-merge:
221 - node-project-test1
222 - node-project-test2
James E. Blair6736beb2013-07-11 15:18:15 -0700223
224 - name: org/conflict-project
225 conflict:
226 - conflict-project-merge:
227 - conflict-project-test1
228 - conflict-project-test2
James E. Blairdad52252014-02-07 16:59:17 -0800229
230 - name: org/noop-project
231 gate:
232 - noop