Mohammed Naser | e5aeb36 | 2025-01-28 17:53:30 -0500 | [diff] [blame] | 1 | - pipeline: |
| 2 | name: check |
| 3 | description: | |
| 4 | Newly uploaded patchsets enter this pipeline to receive an |
| 5 | initial check status. |
| 6 | success-message: Build succeeded (check pipeline). |
| 7 | failure-message: Build failed (check pipeline). |
| 8 | manager: independent |
| 9 | precedence: low |
| 10 | require: |
| 11 | gerrit: |
| 12 | open: True |
| 13 | current-patchset: True |
| 14 | trigger: |
| 15 | gerrit: |
| 16 | - event: patchset-created |
| 17 | - event: change-restored |
| 18 | - event: comment-added |
| 19 | comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck |
| 20 | - event: comment-added |
| 21 | approval: |
| 22 | - Workflow: 1 |
| 23 | require: |
| 24 | approval: |
| 25 | - Verified: [-1, -2] |
| 26 | username: zuul |
| 27 | github: |
| 28 | # Run this pipeline on new/changed pull requests |
| 29 | - event: pull_request |
| 30 | action: |
| 31 | - opened |
| 32 | - changed |
| 33 | - reopened |
| 34 | # Run in response to a pull request comment "recheck" |
| 35 | - event: pull_request |
| 36 | action: comment |
| 37 | comment: (?i)^\s*recheck\s*$ |
| 38 | # When using the checks API to report results, failed runs |
| 39 | # will have a "re-run" button which emits this event. |
| 40 | - event: check_run |
| 41 | action: rerequested |
| 42 | check: .*/check:.* |
| 43 | start: |
| 44 | github: |
| 45 | check: in_progress |
| 46 | comment: false |
| 47 | success: |
| 48 | gerrit: |
| 49 | Verified: 1 |
| 50 | github: |
| 51 | check: success |
| 52 | comment: false |
| 53 | failure: |
| 54 | gerrit: |
| 55 | Verified: -1 |
| 56 | github: |
| 57 | check: failure |
| 58 | comment: false |
| 59 | dequeue: |
| 60 | github: |
| 61 | check: cancelled |
| 62 | comment: false |
| 63 | |
| 64 | - pipeline: |
| 65 | name: gate |
| 66 | description: | |
| 67 | Changes that have been approved by core reviewers are enqueued |
| 68 | in order in this pipeline, and if they pass tests, will be |
| 69 | merged. For documentation on how gating with Zuul works, please see |
| 70 | https://zuul-ci.org/docs/zuul/latest/gating.html |
| 71 | success-message: Build succeeded (gate pipeline). |
| 72 | failure-message: Build failed (gate pipeline). |
| 73 | manager: dependent |
| 74 | precedence: normal |
| 75 | post-review: True |
| 76 | supercedes: check |
| 77 | require: |
| 78 | gerrit: |
| 79 | open: True |
| 80 | current-patchset: True |
| 81 | approval: |
| 82 | - Workflow: 1 |
| 83 | github: |
| 84 | label: gate |
| 85 | open: true |
| 86 | current-patchset: true |
| 87 | trigger: |
| 88 | gerrit: |
| 89 | - event: comment-added |
| 90 | approval: |
| 91 | - Workflow: 1 |
| 92 | - event: comment-added |
| 93 | comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*re(check|verify) |
| 94 | github: |
| 95 | - event: pull_request_review |
| 96 | action: submitted |
| 97 | state: |
| 98 | - approved |
| 99 | - event: pull_request |
| 100 | action: comment |
| 101 | comment: (?i)^\s*regate\s*$ |
| 102 | - event: pull_request_review |
| 103 | action: dismissed |
| 104 | state: |
| 105 | - changes_requested |
| 106 | - event: pull_request |
| 107 | action: status |
| 108 | status: ".*:success" |
| 109 | - event: check_run |
| 110 | action: rerequested |
| 111 | check: .*/gate:.* |
| 112 | # Enqueue if the check job has completed |
| 113 | - event: check_run |
| 114 | action: completed |
| 115 | check: "atmosphere-ci:atmosphere/check:success" |
| 116 | - event: pull_request |
| 117 | action: labeled |
| 118 | label: |
| 119 | - gate |
| 120 | start: |
| 121 | gerrit: |
| 122 | Verified: 0 |
| 123 | github: |
| 124 | check: in_progress |
| 125 | comment: false |
| 126 | success: |
| 127 | gerrit: |
| 128 | Verified: 2 |
| 129 | submit: true |
| 130 | github: |
| 131 | check: success |
| 132 | comment: false |
| 133 | merge: true |
| 134 | failure: |
| 135 | gerrit: |
| 136 | Verified: -2 |
| 137 | github: |
| 138 | check: 'failure' |
| 139 | comment: false |
| 140 | dequeue: |
| 141 | github: |
| 142 | check: cancelled |
| 143 | comment: false |
| 144 | window-floor: 20 |
| 145 | window-increase-factor: 2 |
| 146 | |
| 147 | - pipeline: |
| 148 | name: post |
| 149 | description: | |
| 150 | This pipeline runs jobs that operate after each change is |
| 151 | merged. Queue items are identified by the abbreviated hash (git |
| 152 | log --format=%h) of the merge commit. |
| 153 | manager: supercedent |
| 154 | precedence: high |
| 155 | post-review: true |
| 156 | trigger: |
| 157 | gerrit: |
| 158 | - event: ref-updated |
| 159 | ref: ^refs/heads/.*$ |
| 160 | github: |
| 161 | - event: push |
| 162 | ref: ^refs/heads/.*$ |
| 163 | |
| 164 | - pipeline: |
| 165 | name: promote |
| 166 | description: | |
| 167 | This pipeline runs jobs that operate after each change is merged |
| 168 | in order to promote artifacts generated in the gate |
| 169 | pipeline. |
| 170 | success-message: Build succeeded (promote pipeline). |
| 171 | failure-message: Build failed (promote pipeline). |
| 172 | manager: supercedent |
| 173 | precedence: high |
| 174 | post-review: True |
| 175 | require: |
| 176 | github: |
| 177 | merged: true |
| 178 | trigger: |
| 179 | gerrit: |
| 180 | - event: change-merged |
| 181 | github: |
| 182 | - event: pull_request |
| 183 | action: closed |
| 184 | success: |
| 185 | gerrit: {} |
| 186 | failure: |
| 187 | gerrit: {} |
| 188 | |
| 189 | - pipeline: |
| 190 | name: release |
| 191 | description: When a commit is tagged as a release, this pipeline runs jobs that publish archives and documentation. |
| 192 | manager: independent |
| 193 | precedence: high |
| 194 | post-review: True |
| 195 | trigger: |
| 196 | gerrit: |
| 197 | - event: ref-updated |
| 198 | ref: ^refs/tags/.*$ |
| 199 | github: |
| 200 | - event: push |
| 201 | ref: ^refs/tags/.*$ |
| 202 | |
| 203 | - pipeline: |
| 204 | name: periodic |
| 205 | post-review: true |
| 206 | description: Jobs in this queue are triggered on a daily timer. |
| 207 | manager: independent |
| 208 | precedence: low |
| 209 | trigger: |
| 210 | timer: |
| 211 | - time: '0 2 * * *' |
Mohammed Naser | 415590d | 2025-02-14 11:59:55 -0500 | [diff] [blame] | 212 | |
| 213 | - pipeline: |
| 214 | name: deploy |
| 215 | description: | |
| 216 | This pipeline runs jobs that operate after each change is merged |
| 217 | in order to run production deployment playbooks. |
| 218 | success-message: Build succeeded (deploy pipeline). |
| 219 | failure-message: Build failed (deploy pipeline). |
| 220 | manager: serial |
| 221 | precedence: high |
| 222 | post-review: True |
| 223 | trigger: |
| 224 | gerrit: |
| 225 | - event: change-merged |
| 226 | success: |
| 227 | gerrit: {} |
| 228 | failure: |
| 229 | gerrit: {} |