blob: 5b92b58ac228aab05b7fa2dfe4fd91bcca28a8c1 [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:
17 name: trigger
18 manager: independent
19 trigger:
20 github:
21 - event: pull_request
22 action: status
23 status: 'zuul:check:success'
24 success:
25 github:
26 status: 'success'
27 failure:
28 github:
29 status: 'failure'
30
Jesse Keatingae4cd272017-01-30 17:10:44 -080031- pipeline:
32 name: reviewusername
33 manager: independent
34 require:
35 github:
36 review:
37 - username: '^(herp|derp)$'
38 type: approved
39 trigger:
40 github:
41 - event: pull_request
42 action: comment
43 comment: 'test me'
44 success:
45 github:
46 comment: true
47
48- pipeline:
49 name: reviewreq
50 manager: independent
51 require:
52 github:
53 review:
54 - type: approved
55 permission: write
Adam Gandelmand81dd762017-02-09 15:15:49 -080056 reject:
57 github:
58 review:
59 - type: changes_requested
60 permission: write
Jesse Keatingae4cd272017-01-30 17:10:44 -080061 trigger:
62 github:
63 - event: pull_request
64 action: comment
65 comment: 'test me'
66 success:
67 github:
68 comment: true
69
70- pipeline:
71 name: reviewuserstate
72 manager: independent
73 require:
74 github:
75 review:
76 - username: 'derp'
77 type: approved
78 permission: write
Adam Gandelmand81dd762017-02-09 15:15:49 -080079 reject:
80 github:
81 review:
82 - type: changes_requested
83 permission: write
84 trigger:
85 github:
86 - event: pull_request
87 action: comment
88 comment: 'test me'
89 success:
90 github:
91 comment: true
92
93- pipeline:
94 name: newer_than
95 manager: independent
96 require:
97 github:
98 review:
99 - type: approved
100 permission: write
101 newer-than: 1d
102 trigger:
103 github:
104 - event: pull_request
105 action: comment
106 comment: 'test me'
107 success:
108 github:
109 comment: true
110
111- pipeline:
112 name: older_than
113 manager: independent
114 require:
115 github:
116 review:
117 - type: approved
118 permission: write
119 older-than: 1d
Jesse Keatingae4cd272017-01-30 17:10:44 -0800120 trigger:
121 github:
122 - event: pull_request
123 action: comment
124 comment: 'test me'
125 success:
126 github:
127 comment: true
128
Jesse Keatingd96e5882017-01-19 13:55:50 -0800129- job:
130 name: project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800131- job:
132 name: project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800133- job:
134 name: project3-reviewusername
135- job:
136 name: project4-reviewreq
137- job:
138 name: project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800139- job:
140 name: project6-newerthan
141- job:
142 name: project7-olderthan
Jesse Keatingd96e5882017-01-19 13:55:50 -0800143
144- project:
145 name: org/project1
146 pipeline:
147 jobs:
148 - project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800149
150- project:
151 name: org/project2
152 trigger:
153 jobs:
154 - project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800155
156- project:
157 name: org/project3
158 reviewusername:
159 jobs:
160 - project3-reviewusername
161
162- project:
163 name: org/project4
164 reviewreq:
165 jobs:
166 - project4-reviewreq
167
168- project:
169 name: org/project5
170 reviewuserstate:
171 jobs:
172 - project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800173
174- project:
175 name: org/project6
176 newer_than:
177 jobs:
178 - project6-newerthan
179
180- project:
181 name: org/project7
182 older_than:
183 jobs:
184 - project7-olderthan