Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 1 | - pipeline: |
| 2 | name: check |
| 3 | manager: independent |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 4 | trigger: |
| 5 | gerrit: |
| 6 | - event: patchset-created |
| 7 | start: |
| 8 | smtp: |
| 9 | to: you@example.com |
| 10 | success: |
| 11 | gerrit: |
| 12 | verified: 1 |
| 13 | smtp: |
| 14 | to: alternative_me@example.com |
| 15 | from: zuul_from@example.com |
| 16 | failure: |
| 17 | gerrit: |
| 18 | verified: -1 |
| 19 | |
| 20 | - pipeline: |
| 21 | name: gate |
| 22 | manager: dependent |
| 23 | success-message: Build succeeded (gate). |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 24 | trigger: |
| 25 | gerrit: |
| 26 | - event: comment-added |
| 27 | approval: |
| 28 | - approved: 1 |
| 29 | success: |
| 30 | gerrit: |
| 31 | verified: 2 |
| 32 | submit: true |
| 33 | failure: |
| 34 | gerrit: |
| 35 | verified: -2 |
| 36 | start: |
| 37 | gerrit: |
| 38 | verified: 0 |
| 39 | precedence: high |
| 40 | |
| 41 | - job: |
| 42 | name: project-merge |
| 43 | hold-following-changes: true |
| 44 | |
| 45 | - job: |
| 46 | name: project-test1 |
| 47 | nodes: |
| 48 | - name: controller |
James E. Blair | 16d96a0 | 2017-06-08 11:32:56 -0700 | [diff] [blame] | 49 | label: label1 |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 50 | |
| 51 | - job: |
| 52 | name: project-test1 |
| 53 | branches: stable |
| 54 | nodes: |
| 55 | - name: controller |
James E. Blair | 16d96a0 | 2017-06-08 11:32:56 -0700 | [diff] [blame] | 56 | label: label2 |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 57 | |
| 58 | - job: |
| 59 | name: project-test2 |
| 60 | |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 61 | - project: |
| 62 | name: org/project |
| 63 | check: |
| 64 | jobs: |
Fredrik Medley | f8aec83 | 2015-09-28 13:40:20 +0200 | [diff] [blame] | 65 | - project-merge |
| 66 | - project-test1: |
| 67 | dependencies: project-merge |
| 68 | - project-test2: |
| 69 | dependencies: project-merge |
Paul Belanger | 01be8ca | 2016-11-11 12:21:06 -0500 | [diff] [blame] | 70 | gate: |
| 71 | jobs: |
Fredrik Medley | f8aec83 | 2015-09-28 13:40:20 +0200 | [diff] [blame] | 72 | - project-merge |
| 73 | - project-test1: |
| 74 | dependencies: project-merge |
| 75 | - project-test2: |
| 76 | dependencies: project-merge |