summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/inventory/git/common-config/zuul.yaml
blob: 36789a321df9ef586c7513e208f7f55577f51efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- pipeline:
    name: check
    manager: independent
    post-review: true
    trigger:
      gerrit:
        - event: patchset-created
    success:
      gerrit:
        Verified: 1
    failure:
      gerrit:
        Verified: -1

- nodeset:
    name: nodeset1
    nodes:
      - name: controller
        label: controller-label
      - name: compute1
        label: compute-label
      - name: compute2
        label: compute-label
    groups:
      - name: ceph-osd
        nodes:
          - controller
      - name: ceph-monitor
        nodes:
          - controller
          - compute1
          - compute2

- nodeset:
    name: nodeset2
    nodes:
      - name: default
        label: default-label
      - name: fakeuser
        label: fakeuser-label
      - name: windows
        label: windows-label

- job:
    name: base
    parent: null

- job:
    name: single-inventory
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    run: playbooks/single-inventory.yaml

- job:
    name: single-inventory-list
    nodeset:
      nodes:
        - name:
            - compute
            - controller
          label: ubuntu-xenial
    run: playbooks/single-inventory.yaml

- job:
    name: group-inventory
    nodeset: nodeset1
    run: playbooks/group-inventory.yaml

- job:
    name: hostvars-inventory
    run: playbooks/hostvars-inventory.yaml
    nodeset: nodeset2