| - pipeline: |
| name: check |
| manager: independent |
| trigger: |
| gerrit: |
| - event: patchset-created |
| start: |
| smtp: |
| to: you@example.com |
| success: |
| gerrit: |
| Verified: 1 |
| smtp: |
| to: alternative_me@example.com |
| from: zuul_from@example.com |
| failure: |
| gerrit: |
| Verified: -1 |
| |
| - pipeline: |
| name: gate |
| manager: dependent |
| success-message: Build succeeded (gate). |
| trigger: |
| gerrit: |
| - event: comment-added |
| approval: |
| - Approved: 1 |
| success: |
| gerrit: |
| Verified: 2 |
| submit: true |
| failure: |
| gerrit: |
| Verified: -2 |
| start: |
| gerrit: |
| Verified: 0 |
| precedence: high |
| |
| - job: |
| name: base |
| parent: null |
| run: playbooks/base.yaml |
| |
| - job: |
| name: project-merge |
| hold-following-changes: true |
| run: playbooks/project-merge.yaml |
| |
| - job: |
| name: project-test1 |
| nodeset: |
| nodes: |
| - name: controller |
| label: label1 |
| run: playbooks/project-test1.yaml |
| |
| - job: |
| name: project-test1 |
| branches: stable |
| nodeset: |
| nodes: |
| - name: controller |
| label: label2 |
| run: playbooks/project-test1.yaml |
| |
| - job: |
| name: project-test2 |
| run: playbooks/project-test2.yaml |
| |
| - project: |
| name: org/project |
| check: |
| jobs: |
| - project-merge |
| - project-test1: |
| dependencies: project-merge |
| - project-test2: |
| dependencies: project-merge |
| gate: |
| jobs: |
| - project-merge |
| - project-test1: |
| dependencies: project-merge |
| - project-test2: |
| dependencies: project-merge |