blob: f2ecd16fbe868f46ec9da0037764ee722f9a480a [file] [log] [blame]
Jesse Keatingd96e5882017-01-19 13:55:50 -08001- pipeline:
2 name: pipeline
3 manager: independent
4 require:
5 github:
6 status: "zuul:check:success"
7 trigger:
8 github:
9 - event: pull_request
10 action: comment
11 comment: 'test me'
12 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
23 comment: 'trigger me'
24 require-status: "zuul:check:success"
25 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
36 status: 'zuul:check:success'
37 success:
38 github:
39 status: 'success'
40 failure:
41 github:
42 status: 'failure'
43
Jesse Keatingae4cd272017-01-30 17:10:44 -080044- pipeline:
45 name: reviewusername
46 manager: independent
47 require:
48 github:
49 review:
50 - username: '^(herp|derp)$'
51 type: approved
52 trigger:
53 github:
54 - event: pull_request
55 action: comment
56 comment: 'test me'
57 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
78 comment: 'test me'
79 success:
80 github:
81 comment: true
82
83- pipeline:
84 name: reviewuserstate
85 manager: independent
86 require:
87 github:
88 review:
89 - username: 'derp'
90 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
101 comment: 'test me'
102 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
119 comment: 'test me'
120 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
137 comment: 'test me'
138 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
152 comment: 'test me'
153 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
181 comment: 'test me'
182 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
189
190- job:
Jesse Keatingd96e5882017-01-19 13:55:50 -0800191 name: project1-pipeline
James E. Blair2bab6e72017-08-07 09:52:45 -0700192
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800193- job:
194 name: project2-trigger
James E. Blair2bab6e72017-08-07 09:52:45 -0700195
Jesse Keatingae4cd272017-01-30 17:10:44 -0800196- job:
197 name: project3-reviewusername
James E. Blair2bab6e72017-08-07 09:52:45 -0700198
Jesse Keatingae4cd272017-01-30 17:10:44 -0800199- job:
200 name: project4-reviewreq
James E. Blair2bab6e72017-08-07 09:52:45 -0700201
Jesse Keatingae4cd272017-01-30 17:10:44 -0800202- job:
203 name: project5-reviewuserstate
James E. Blair2bab6e72017-08-07 09:52:45 -0700204
Adam Gandelmand81dd762017-02-09 15:15:49 -0800205- job:
206 name: project6-newerthan
James E. Blair2bab6e72017-08-07 09:52:45 -0700207
Adam Gandelmand81dd762017-02-09 15:15:49 -0800208- job:
209 name: project7-olderthan
James E. Blair2bab6e72017-08-07 09:52:45 -0700210
Jesse Keating4a27f132017-05-25 16:44:01 -0700211- job:
212 name: project8-requireopen
James E. Blair2bab6e72017-08-07 09:52:45 -0700213
Jesse Keating0d40c122017-05-26 11:32:53 -0700214- job:
215 name: project9-requirecurrent
James E. Blair2bab6e72017-08-07 09:52:45 -0700216
Jesse Keating19dfb492017-06-13 12:32:33 -0700217- job:
218 name: project10-label
Jesse Keatingd96e5882017-01-19 13:55:50 -0800219
220- project:
221 name: org/project1
222 pipeline:
223 jobs:
224 - project1-pipeline
Jesse Keating3a00ae82017-05-04 16:08:58 -0700225 trigger_status:
226 jobs:
227 - project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800228
229- project:
230 name: org/project2
231 trigger:
232 jobs:
233 - project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800234
235- project:
236 name: org/project3
237 reviewusername:
238 jobs:
239 - project3-reviewusername
240
241- project:
242 name: org/project4
243 reviewreq:
244 jobs:
245 - project4-reviewreq
246
247- project:
248 name: org/project5
249 reviewuserstate:
250 jobs:
251 - project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800252
253- project:
254 name: org/project6
255 newer_than:
256 jobs:
257 - project6-newerthan
258
259- project:
260 name: org/project7
261 older_than:
262 jobs:
263 - project7-olderthan
Jesse Keating4a27f132017-05-25 16:44:01 -0700264
265- project:
266 name: org/project8
267 require_open:
268 jobs:
269 - project8-requireopen
Jesse Keating0d40c122017-05-26 11:32:53 -0700270
271- project:
272 name: org/project9
273 require_current:
274 jobs:
275 - project9-requirecurrent
Jesse Keating19dfb492017-06-13 12:32:33 -0700276
277- project:
278 name: org/project10
279 require_label:
280 jobs:
281 - project10-label