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 | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 171 | - job: |
| 172 | name: project1-pipeline |
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 173 | - job: |
| 174 | name: project2-trigger |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 175 | - job: |
| 176 | name: project3-reviewusername |
| 177 | - job: |
| 178 | name: project4-reviewreq |
| 179 | - job: |
| 180 | name: project5-reviewuserstate |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 181 | - job: |
| 182 | name: project6-newerthan |
| 183 | - job: |
| 184 | name: project7-olderthan |
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 185 | - job: |
| 186 | name: project8-requireopen |
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 187 | - job: |
| 188 | name: project9-requirecurrent |
Jesse Keating | d96e588 | 2017-01-19 13:55:50 -0800 | [diff] [blame] | 189 | |
| 190 | - project: |
| 191 | name: org/project1 |
| 192 | pipeline: |
| 193 | jobs: |
| 194 | - project1-pipeline |
Jesse Keating | 3a00ae8 | 2017-05-04 16:08:58 -0700 | [diff] [blame] | 195 | trigger_status: |
| 196 | jobs: |
| 197 | - project1-pipeline |
Adam Gandelman | 8c6eeb5 | 2017-01-23 16:31:06 -0800 | [diff] [blame] | 198 | |
| 199 | - project: |
| 200 | name: org/project2 |
| 201 | trigger: |
| 202 | jobs: |
| 203 | - project2-trigger |
Jesse Keating | ae4cd27 | 2017-01-30 17:10:44 -0800 | [diff] [blame] | 204 | |
| 205 | - project: |
| 206 | name: org/project3 |
| 207 | reviewusername: |
| 208 | jobs: |
| 209 | - project3-reviewusername |
| 210 | |
| 211 | - project: |
| 212 | name: org/project4 |
| 213 | reviewreq: |
| 214 | jobs: |
| 215 | - project4-reviewreq |
| 216 | |
| 217 | - project: |
| 218 | name: org/project5 |
| 219 | reviewuserstate: |
| 220 | jobs: |
| 221 | - project5-reviewuserstate |
Adam Gandelman | d81dd76 | 2017-02-09 15:15:49 -0800 | [diff] [blame] | 222 | |
| 223 | - project: |
| 224 | name: org/project6 |
| 225 | newer_than: |
| 226 | jobs: |
| 227 | - project6-newerthan |
| 228 | |
| 229 | - project: |
| 230 | name: org/project7 |
| 231 | older_than: |
| 232 | jobs: |
| 233 | - project7-olderthan |
Jesse Keating | 4a27f13 | 2017-05-25 16:44:01 -0700 | [diff] [blame] | 234 | |
| 235 | - project: |
| 236 | name: org/project8 |
| 237 | require_open: |
| 238 | jobs: |
| 239 | - project8-requireopen |
Jesse Keating | 0d40c12 | 2017-05-26 11:32:53 -0700 | [diff] [blame] | 240 | |
| 241 | - project: |
| 242 | name: org/project9 |
| 243 | require_current: |
| 244 | jobs: |
| 245 | - project9-requirecurrent |