Jesse Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 1 | - 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 Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 16 | - pipeline: |
Jesse Keating | 3a00ae8 | 2017-05-04 16:08:58 -0700 | [diff] [blame] | 17 | 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 Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 30 | 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 Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 44 | - 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 Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 69 | reject: |
70 | github: | ||||
71 | review: | ||||
72 | - type: changes_requested | ||||
73 | permission: write | ||||
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 74 | 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 Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 92 | 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 Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 133 | trigger: |
134 | github: | ||||
135 | - event: pull_request | ||||
136 | action: comment | ||||
137 | comment: 'test me' | ||||
138 | success: | ||||
139 | github: | ||||
140 | comment: true | ||||
141 | |||||
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 142 | - 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 Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 157 | - 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 Keating | 19dfb49 | 2017-06-13 12:32:33 -0700 | [diff] [blame] | 171 | - 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 Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 186 | - job: |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 187 | name: base |
188 | parent: null | ||||
189 | |||||
190 | - job: | ||||
Jesse Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 191 | name: project1-pipeline |
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 192 | |
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 193 | - job: |
194 | name: project2-trigger | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 195 | |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 196 | - job: |
197 | name: project3-reviewusername | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 198 | |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 199 | - job: |
200 | name: project4-reviewreq | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 201 | |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 202 | - job: |
203 | name: project5-reviewuserstate | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 204 | |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 205 | - job: |
206 | name: project6-newerthan | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 207 | |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 208 | - job: |
209 | name: project7-olderthan | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 210 | |
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 211 | - job: |
212 | name: project8-requireopen | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 213 | |
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 214 | - job: |
215 | name: project9-requirecurrent | ||||
James E. Blair | 2bab6e7 | 2017-08-07 09:52:45 -0700 | [diff] [blame] | 216 | |
Jesse Keating | 19dfb49 | 2017-06-13 12:32:33 -0700 | [diff] [blame] | 217 | - job: |
218 | name: project10-label | ||||
Jesse Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 219 | |
220 | - project: | ||||
221 | name: org/project1 | ||||
222 | pipeline: | ||||
223 | jobs: | ||||
224 | - project1-pipeline | ||||
Jesse Keating | 3a00ae8 | 2017-05-04 16:08:58 -0700 | [diff] [blame] | 225 | trigger_status: |
226 | jobs: | ||||
227 | - project1-pipeline | ||||
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 228 | |
229 | - project: | ||||
230 | name: org/project2 | ||||
231 | trigger: | ||||
232 | jobs: | ||||
233 | - project2-trigger | ||||
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 234 | |
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 Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 252 | |
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 Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 264 | |
265 | - project: | ||||
266 | name: org/project8 | ||||
267 | require_open: | ||||
268 | jobs: | ||||
269 | - project8-requireopen | ||||
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 270 | |
271 | - project: | ||||
272 | name: org/project9 | ||||
273 | require_current: | ||||
274 | jobs: | ||||
275 | - project9-requirecurrent | ||||
Jesse Keating | 19dfb49 | 2017-06-13 12:32:33 -0700 | [diff] [blame] | 276 | |
277 | - project: | ||||
278 | name: org/project10 | ||||
279 | require_label: | ||||
280 | jobs: | ||||
281 | - project10-label |