James E. Blair | af8b208 | 2017-10-03 15:38:27 -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 | - job: |
| 15 | name: base |
| 16 | parent: null |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 17 | run: playbooks/base.yaml |
James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 18 | |
| 19 | - job: |
| 20 | name: parentjob |
| 21 | parent: base |
| 22 | required-projects: |
| 23 | - org/project0 |
| 24 | vars: |
| 25 | override: 0 |
| 26 | child1override: 0 |
| 27 | parent: 0 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 28 | run: playbooks/parentjob.yaml |
James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 29 | |
| 30 | - job: |
| 31 | name: child1 |
| 32 | parent: parentjob |
| 33 | required-projects: |
| 34 | - org/project1 |
| 35 | vars: |
| 36 | override: 1 |
| 37 | child1override: 1 |
| 38 | child1: 1 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 39 | run: playbooks/child1.yaml |
James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 40 | |
| 41 | - job: |
| 42 | name: child2 |
| 43 | parent: parentjob |
| 44 | required-projects: |
| 45 | - org/project2 |
| 46 | vars: |
| 47 | override: 2 |
| 48 | child2: 2 |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 49 | run: playbooks/child2.yaml |
James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 50 | |
| 51 | - job: |
| 52 | name: child3 |
| 53 | parent: parentjob |
James E. Blair | 2f589fe | 2017-10-26 12:57:41 -0700 | [diff] [blame] | 54 | run: playbooks/child3.yaml |
James E. Blair | af8b208 | 2017-10-03 15:38:27 -0700 | [diff] [blame] | 55 | |
| 56 | - project: |
| 57 | name: org/project |
| 58 | check: |
| 59 | jobs: |
| 60 | - parentjob |
| 61 | - child1 |
| 62 | - child2 |
| 63 | - child3: |
| 64 | required-projects: |
| 65 | - org/project3 |
| 66 | vars: |
| 67 | override: 3 |
| 68 | child3: 3 |
| 69 | |
| 70 | - project: |
| 71 | name: org/project0 |
| 72 | |
| 73 | - project: |
| 74 | name: org/project1 |
| 75 | |
| 76 | - project: |
| 77 | name: org/project2 |
| 78 | |
| 79 | - project: |
| 80 | name: org/project3 |