Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 1 | - pipeline: |
| 2 | name: check |
| 3 | manager: independent |
| 4 | trigger: |
| 5 | gerrit: |
| 6 | - event: patchset-created |
| 7 | success: |
| 8 | gerrit: |
| 9 | Verified: 1 |
| 10 | failure: |
| 11 | gerrit: |
| 12 | Verified: -1 |
| 13 | |
| 14 | - pipeline: |
| 15 | name: post |
| 16 | manager: independent |
| 17 | trigger: |
| 18 | gerrit: |
| 19 | - event: ref-updated |
| 20 | ref: ^(?!refs/).*$ |
| 21 | |
| 22 | - pipeline: |
| 23 | name: gate |
| 24 | manager: dependent |
| 25 | failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures |
| 26 | trigger: |
| 27 | gerrit: |
| 28 | - event: comment-added |
| 29 | approval: |
| 30 | - Approved: 1 |
| 31 | success: |
| 32 | gerrit: |
| 33 | Verified: 2 |
| 34 | submit: true |
| 35 | failure: |
| 36 | gerrit: |
| 37 | Verified: -2 |
| 38 | start: |
| 39 | gerrit: |
| 40 | Verified: 0 |
| 41 | precedence: high |
| 42 | |
| 43 | - job: |
| 44 | name: base |
| 45 | parent: null |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 46 | run: playbooks/base.yaml |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 47 | |
| 48 | - job: |
| 49 | name: project-merge |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 50 | run: playbooks/project-merge.yaml |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 51 | |
| 52 | - job: |
| 53 | name: project-test1 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 54 | run: playbooks/project-test1.yaml |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 55 | |
| 56 | - job: |
| 57 | name: project-test2 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 58 | run: playbooks/project-test2.yaml |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 59 | |
| 60 | - job: |
| 61 | name: project-post |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 62 | run: playbooks/project-post.yaml |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 63 | |
| 64 | - project: |
| 65 | name: org/new-project |
| 66 | check: |
| 67 | jobs: |
| 68 | - project-merge |
| 69 | - project-test1: |
| 70 | dependencies: project-merge |
| 71 | - project-test2: |
| 72 | dependencies: project-merge |
| 73 | gate: |
| 74 | jobs: |
Monty Taylor | 8be3c0c | 2017-10-06 10:37:37 -0500 | [diff] [blame] | 75 | - project-merge |
Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -0700 | [diff] [blame] | 76 | - project-test1: |
| 77 | dependencies: project-merge |
| 78 | - project-test2: |
| 79 | dependencies: project-merge |
| 80 | post: |
| 81 | jobs: |
| 82 | - project-post |