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: |
| 187 | name: project1-pipeline |
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 188 | - job: |
| 189 | name: project2-trigger |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 190 | - job: |
| 191 | name: project3-reviewusername |
| 192 | - job: |
| 193 | name: project4-reviewreq |
| 194 | - job: |
| 195 | name: project5-reviewuserstate |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 196 | - job: |
| 197 | name: project6-newerthan |
| 198 | - job: |
| 199 | name: project7-olderthan |
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 200 | - job: |
| 201 | name: project8-requireopen |
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 202 | - job: |
| 203 | name: project9-requirecurrent |
Jesse Keating | 19dfb49 | 2017-06-13 12:32:33 -0700 | [diff] [blame] | 204 | - job: |
| 205 | name: project10-label |
Jesse Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 206 | |
| 207 | - project: |
| 208 | name: org/project1 |
| 209 | pipeline: |
| 210 | jobs: |
| 211 | - project1-pipeline |
Jesse Keating | 3a00ae8 | 2017-05-04 16:08:58 -0700 | [diff] [blame] | 212 | trigger_status: |
| 213 | jobs: |
| 214 | - project1-pipeline |
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 215 | |
| 216 | - project: |
| 217 | name: org/project2 |
| 218 | trigger: |
| 219 | jobs: |
| 220 | - project2-trigger |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 221 | |
| 222 | - project: |
| 223 | name: org/project3 |
| 224 | reviewusername: |
| 225 | jobs: |
| 226 | - project3-reviewusername |
| 227 | |
| 228 | - project: |
| 229 | name: org/project4 |
| 230 | reviewreq: |
| 231 | jobs: |
| 232 | - project4-reviewreq |
| 233 | |
| 234 | - project: |
| 235 | name: org/project5 |
| 236 | reviewuserstate: |
| 237 | jobs: |
| 238 | - project5-reviewuserstate |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 239 | |
| 240 | - project: |
| 241 | name: org/project6 |
| 242 | newer_than: |
| 243 | jobs: |
| 244 | - project6-newerthan |
| 245 | |
| 246 | - project: |
| 247 | name: org/project7 |
| 248 | older_than: |
| 249 | jobs: |
| 250 | - project7-olderthan |
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 251 | |
| 252 | - project: |
| 253 | name: org/project8 |
| 254 | require_open: |
| 255 | jobs: |
| 256 | - project8-requireopen |
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 257 | |
| 258 | - project: |
| 259 | name: org/project9 |
| 260 | require_current: |
| 261 | jobs: |
| 262 | - project9-requirecurrent |
Jesse Keating | 19dfb49 | 2017-06-13 12:32:33 -0700 | [diff] [blame] | 263 | |
| 264 | - project: |
| 265 | name: org/project10 |
| 266 | require_label: |
| 267 | jobs: |
| 268 | - project10-label |