sankar palanivel | ecbc68e | 2021-05-10 17:49:42 +0100 | [diff] [blame] | 1 | - pipeline: |
| 2 | name: check |
| 3 | description: | |
| 4 | Newly uploaded patchsets enter this pipeline to receive an |
| 5 | initial +/-1 Verified vote. |
| 6 | manager: independent |
| 7 | require: |
| 8 | gerrit: |
| 9 | open: True |
| 10 | current-patchset: True |
| 11 | trigger: |
| 12 | gerrit: |
| 13 | - event: patchset-created |
| 14 | - event: change-restored |
| 15 | - event: comment-added |
| 16 | comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck |
| 17 | success: |
| 18 | gerrit: |
| 19 | Verified: 1 |
| 20 | failure: |
| 21 | gerrit: |
| 22 | Verified: -1 |
| 23 | |
| 24 | - pipeline: |
| 25 | name: gate |
| 26 | description: | |
| 27 | Changes that have been approved are enqueued in order in this |
| 28 | pipeline, and if they pass tests, will be merged. |
| 29 | manager: dependent |
| 30 | post-review: True |
| 31 | require: |
| 32 | gerrit: |
| 33 | open: True |
| 34 | current-patchset: True |
| 35 | approval: |
sankar palanivel | 0af64e6 | 2021-05-13 10:49:24 +0100 | [diff] [blame] | 36 | #- Workflow: 1 |
| 37 | - Verified: 1 |
sankar palanivel | ecbc68e | 2021-05-10 17:49:42 +0100 | [diff] [blame] | 38 | trigger: |
| 39 | gerrit: |
| 40 | - event: comment-added |
| 41 | approval: |
sankar palanivel | 0af64e6 | 2021-05-13 10:49:24 +0100 | [diff] [blame] | 42 | #- Workflow: 1 |
| 43 | - Verified: 1 |
sankar palanivel | ecbc68e | 2021-05-10 17:49:42 +0100 | [diff] [blame] | 44 | start: |
| 45 | gerrit: |
| 46 | Verified: 0 |
| 47 | success: |
| 48 | gerrit: |
| 49 | Verified: 2 |
| 50 | submit: true |
| 51 | failure: |
| 52 | gerrit: |
| 53 | Verified: -2 |
| 54 | |
| 55 | - pipeline: |
| 56 | name: post |
| 57 | description: | |
| 58 | This pipeline runs jobs that operate after each change is |
| 59 | merged. Queue items are identified by the abbreviated hash (git |
| 60 | log --format=%h) of the merge commit. |
| 61 | manager: supercedent |
| 62 | precedence: high |
| 63 | post-review: True |
| 64 | trigger: |
| 65 | gerrit: |
| 66 | - event: ref-updated |
| 67 | ref: ^refs/heads/.*$ |
| 68 | |
| 69 | - pipeline: |
| 70 | name: promote |
| 71 | description: | |
| 72 | This pipeline runs jobs that operate after each change is merged |
| 73 | in order to promote artifacts generated in the gate |
| 74 | pipeline. |
| 75 | manager: supercedent |
| 76 | precedence: high |
| 77 | post-review: True |
| 78 | trigger: |
| 79 | gerrit: |
| 80 | - event: change-merged |
| 81 | success: |
| 82 | gerrit: {} |
| 83 | failure: |
| 84 | gerrit: {} |
| 85 | |
| 86 | - pipeline: |
| 87 | name: deploy |
| 88 | description: | |
| 89 | This pipeline runs jobs that operate after each change is merged |
| 90 | in order to deploy to production. |
| 91 | manager: serial |
| 92 | precedence: high |
| 93 | post-review: True |
| 94 | trigger: |
| 95 | gerrit: |
| 96 | - event: change-merged |
| 97 | success: |
| 98 | gerrit: {} |
| 99 | failure: |
| 100 | gerrit: {} |
| 101 | |
| 102 | - pipeline: |
sankar palanivel | c77ce43 | 2021-05-27 15:50:24 +0100 | [diff] [blame] | 103 | name: opendev-merge |
sankar palanivel | 10ff9e2 | 2021-05-27 12:26:51 +0100 | [diff] [blame] | 104 | manager: independent |
sankar palanivel | bb597bd | 2021-05-25 16:10:03 +0100 | [diff] [blame] | 105 | precedence: high |
| 106 | post-review: True |
| 107 | trigger: |
| 108 | opendev-gerrit: |
| 109 | - event: change-merged |
sankar palanivel | cb21d7c | 2021-05-27 16:03:24 +0100 | [diff] [blame^] | 110 | - event: comment-added |
| 111 | comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*remerge |
sankar palanivel | bb597bd | 2021-05-25 16:10:03 +0100 | [diff] [blame] | 112 | |
| 113 | - pipeline: |
sankar palanivel | ecbc68e | 2021-05-10 17:49:42 +0100 | [diff] [blame] | 114 | name: release |
| 115 | description: | |
| 116 | When a commit is tagged as a release, this pipeline runs jobs |
| 117 | that publish archives and documentation. |
| 118 | manager: independent |
| 119 | precedence: high |
| 120 | post-review: True |
| 121 | trigger: |
| 122 | gerrit: |
| 123 | - event: ref-updated |
| 124 | ref: ^refs/tags/[0-9]+(\.[0-9]+)*$ |
| 125 | |
| 126 | - pipeline: |
| 127 | name: tag |
| 128 | post-review: true |
| 129 | description: This pipeline runs jobs in response to any tag event. |
| 130 | manager: independent |
| 131 | precedence: high |
| 132 | trigger: |
| 133 | gerrit: |
| 134 | - event: ref-updated |
| 135 | ref: ^refs/tags/.*$ |
sankar palanivel | 6d631fc | 2021-05-18 16:53:41 +0100 | [diff] [blame] | 136 | |
| 137 | - pipeline: |
| 138 | name: periodic |
| 139 | post-review: true |
| 140 | description: Jobs in this queue are triggered on a timer. |
| 141 | manager: independent |
| 142 | precedence: low |
| 143 | trigger: |
| 144 | timer: |
sankar palanivel | c77ce43 | 2021-05-27 15:50:24 +0100 | [diff] [blame] | 145 | - time: '0 1 * * *' |