blob: 92bd9cb90bcc615d8ce1839e15989f1be42cb2cb [file] [log] [blame]
Jesse Keatingd96e5882017-01-19 13:55:50 -08001- pipeline:
2 name: pipeline
3 manager: independent
4 require:
5 github:
James E. Blair2f589fe2017-10-26 12:57:41 -07006 status: zuul:check:success
Jesse Keatingd96e5882017-01-19 13:55:50 -08007 trigger:
8 github:
9 - event: pull_request
10 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -070011 comment: test me
Jesse Keatingd96e5882017-01-19 13:55:50 -080012 success:
13 github:
14 comment: true
15
Adam Gandelman8c6eeb52017-01-23 16:31:06 -080016- pipeline:
Jesse Keating3a00ae82017-05-04 16:08:58 -070017 name: trigger_status
18 manager: independent
19 trigger:
20 github:
21 - event: pull_request
22 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -070023 comment: trigger me
24 require-status: zuul:check:success
Jesse Keating3a00ae82017-05-04 16:08:58 -070025 success:
26 github:
27 comment: true
28
29- pipeline:
Adam Gandelman8c6eeb52017-01-23 16:31:06 -080030 name: trigger
31 manager: independent
32 trigger:
33 github:
34 - event: pull_request
35 action: status
James E. Blair2f589fe2017-10-26 12:57:41 -070036 status: zuul:check:success
Adam Gandelman8c6eeb52017-01-23 16:31:06 -080037 success:
38 github:
James E. Blair2f589fe2017-10-26 12:57:41 -070039 status: success
Adam Gandelman8c6eeb52017-01-23 16:31:06 -080040 failure:
41 github:
James E. Blair2f589fe2017-10-26 12:57:41 -070042 status: failure
Adam Gandelman8c6eeb52017-01-23 16:31:06 -080043
Jesse Keatingae4cd272017-01-30 17:10:44 -080044- pipeline:
45 name: reviewusername
46 manager: independent
47 require:
48 github:
49 review:
James E. Blair2f589fe2017-10-26 12:57:41 -070050 - username: ^(herp|derp)$
Jesse Keatingae4cd272017-01-30 17:10:44 -080051 type: approved
52 trigger:
53 github:
54 - event: pull_request
55 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -070056 comment: test me
Jesse Keatingae4cd272017-01-30 17:10:44 -080057 success:
58 github:
59 comment: true
60
61- pipeline:
62 name: reviewreq
63 manager: independent
64 require:
65 github:
66 review:
67 - type: approved
68 permission: write
Adam Gandelmand81dd762017-02-09 15:15:49 -080069 reject:
70 github:
71 review:
72 - type: changes_requested
73 permission: write
Jesse Keatingae4cd272017-01-30 17:10:44 -080074 trigger:
75 github:
76 - event: pull_request
77 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -070078 comment: test me
Jesse Keatingae4cd272017-01-30 17:10:44 -080079 success:
80 github:
81 comment: true
82
83- pipeline:
84 name: reviewuserstate
85 manager: independent
86 require:
87 github:
88 review:
James E. Blair2f589fe2017-10-26 12:57:41 -070089 - username: derp
Jesse Keatingae4cd272017-01-30 17:10:44 -080090 type: approved
91 permission: write
Adam Gandelmand81dd762017-02-09 15:15:49 -080092 reject:
93 github:
94 review:
95 - type: changes_requested
96 permission: write
97 trigger:
98 github:
99 - event: pull_request
100 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -0700101 comment: test me
Adam Gandelmand81dd762017-02-09 15:15:49 -0800102 success:
103 github:
104 comment: true
105
106- pipeline:
107 name: newer_than
108 manager: independent
109 require:
110 github:
111 review:
112 - type: approved
113 permission: write
114 newer-than: 1d
115 trigger:
116 github:
117 - event: pull_request
118 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -0700119 comment: test me
Adam Gandelmand81dd762017-02-09 15:15:49 -0800120 success:
121 github:
122 comment: true
123
124- pipeline:
125 name: older_than
126 manager: independent
127 require:
128 github:
129 review:
130 - type: approved
131 permission: write
132 older-than: 1d
Jesse Keatingae4cd272017-01-30 17:10:44 -0800133 trigger:
134 github:
135 - event: pull_request
136 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -0700137 comment: test me
Jesse Keatingae4cd272017-01-30 17:10:44 -0800138 success:
139 github:
140 comment: true
141
Jesse Keating4a27f132017-05-25 16:44:01 -0700142- pipeline:
143 name: require_open
144 manager: independent
145 require:
146 github:
147 open: true
148 trigger:
149 github:
150 - event: pull_request
151 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -0700152 comment: test me
Jesse Keating4a27f132017-05-25 16:44:01 -0700153 success:
154 github:
155 comment: true
156
Jesse Keating0d40c122017-05-26 11:32:53 -0700157- pipeline:
158 name: require_current
159 manager: independent
160 require:
161 github:
162 current-patchset: true
163 trigger:
164 github:
165 - event: pull_request
166 action: changed
167 success:
168 github:
169 comment: true
170
Jesse Keating19dfb492017-06-13 12:32:33 -0700171- pipeline:
172 name: require_label
173 manager: independent
174 require:
175 github:
176 label: approved
177 trigger:
178 github:
179 - event: pull_request
180 action: comment
James E. Blair2f589fe2017-10-26 12:57:41 -0700181 comment: test me
Jesse Keating19dfb492017-06-13 12:32:33 -0700182 success:
183 github:
184 comment: true
185
Jesse Keatingd96e5882017-01-19 13:55:50 -0800186- job:
James E. Blair2bab6e72017-08-07 09:52:45 -0700187 name: base
188 parent: null
James E. Blair2f589fe2017-10-26 12:57:41 -0700189 run: playbooks/base.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700190
191- job:
Jesse Keatingd96e5882017-01-19 13:55:50 -0800192 name: project1-pipeline
James E. Blair2f589fe2017-10-26 12:57:41 -0700193 run: playbooks/project1-pipeline.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700194
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800195- job:
196 name: project2-trigger
James E. Blair2f589fe2017-10-26 12:57:41 -0700197 run: playbooks/project2-trigger.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700198
Jesse Keatingae4cd272017-01-30 17:10:44 -0800199- job:
200 name: project3-reviewusername
James E. Blair2f589fe2017-10-26 12:57:41 -0700201 run: playbooks/project3-reviewusername.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700202
Jesse Keatingae4cd272017-01-30 17:10:44 -0800203- job:
204 name: project4-reviewreq
James E. Blair2f589fe2017-10-26 12:57:41 -0700205 run: playbooks/project4-reviewreq.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700206
Jesse Keatingae4cd272017-01-30 17:10:44 -0800207- job:
208 name: project5-reviewuserstate
James E. Blair2f589fe2017-10-26 12:57:41 -0700209 run: playbooks/project5-reviewuserstate.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700210
Adam Gandelmand81dd762017-02-09 15:15:49 -0800211- job:
212 name: project6-newerthan
James E. Blair2f589fe2017-10-26 12:57:41 -0700213 run: playbooks/project6-newerthan.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700214
Adam Gandelmand81dd762017-02-09 15:15:49 -0800215- job:
216 name: project7-olderthan
James E. Blair2f589fe2017-10-26 12:57:41 -0700217 run: playbooks/project7-olderthan.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700218
Jesse Keating4a27f132017-05-25 16:44:01 -0700219- job:
220 name: project8-requireopen
James E. Blair2f589fe2017-10-26 12:57:41 -0700221 run: playbooks/project8-requireopen.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700222
Jesse Keating0d40c122017-05-26 11:32:53 -0700223- job:
224 name: project9-requirecurrent
James E. Blair2f589fe2017-10-26 12:57:41 -0700225 run: playbooks/project9-requirecurrent.yaml
James E. Blair2bab6e72017-08-07 09:52:45 -0700226
Jesse Keating19dfb492017-06-13 12:32:33 -0700227- job:
228 name: project10-label
James E. Blair2f589fe2017-10-26 12:57:41 -0700229 run: playbooks/project10-label.yaml
Jesse Keatingd96e5882017-01-19 13:55:50 -0800230
231- project:
232 name: org/project1
233 pipeline:
234 jobs:
235 - project1-pipeline
Jesse Keating3a00ae82017-05-04 16:08:58 -0700236 trigger_status:
237 jobs:
238 - project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800239
240- project:
241 name: org/project2
242 trigger:
243 jobs:
244 - project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800245
246- project:
247 name: org/project3
248 reviewusername:
249 jobs:
250 - project3-reviewusername
251
252- project:
253 name: org/project4
254 reviewreq:
255 jobs:
256 - project4-reviewreq
257
258- project:
259 name: org/project5
260 reviewuserstate:
261 jobs:
262 - project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800263
264- project:
265 name: org/project6
266 newer_than:
267 jobs:
268 - project6-newerthan
269
270- project:
271 name: org/project7
272 older_than:
273 jobs:
274 - project7-olderthan
Jesse Keating4a27f132017-05-25 16:44:01 -0700275
276- project:
277 name: org/project8
278 require_open:
279 jobs:
280 - project8-requireopen
Jesse Keating0d40c122017-05-26 11:32:53 -0700281
282- project:
283 name: org/project9
284 require_current:
285 jobs:
286 - project9-requirecurrent
Jesse Keating19dfb492017-06-13 12:32:33 -0700287
288- project:
289 name: org/project10
290 require_label:
291 jobs:
292 - project10-label