blob: addba1e639ffd5f043298741691a30e926daf5aa [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 Keatingd96e5882017-01-19 13:55:50 -0800142- job:
143 name: project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800144- job:
145 name: project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800146- job:
147 name: project3-reviewusername
148- job:
149 name: project4-reviewreq
150- job:
151 name: project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800152- job:
153 name: project6-newerthan
154- job:
155 name: project7-olderthan
Jesse Keatingd96e5882017-01-19 13:55:50 -0800156
157- project:
158 name: org/project1
159 pipeline:
160 jobs:
161 - project1-pipeline
Jesse Keating3a00ae82017-05-04 16:08:58 -0700162 trigger_status:
163 jobs:
164 - project1-pipeline
Adam Gandelman8c6eeb52017-01-23 16:31:06 -0800165
166- project:
167 name: org/project2
168 trigger:
169 jobs:
170 - project2-trigger
Jesse Keatingae4cd272017-01-30 17:10:44 -0800171
172- project:
173 name: org/project3
174 reviewusername:
175 jobs:
176 - project3-reviewusername
177
178- project:
179 name: org/project4
180 reviewreq:
181 jobs:
182 - project4-reviewreq
183
184- project:
185 name: org/project5
186 reviewuserstate:
187 jobs:
188 - project5-reviewuserstate
Adam Gandelmand81dd762017-02-09 15:15:49 -0800189
190- project:
191 name: org/project6
192 newer_than:
193 jobs:
194 - project6-newerthan
195
196- project:
197 name: org/project7
198 older_than:
199 jobs:
200 - project7-olderthan