summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/inventory/git/common-config/zuul.yaml
blob: ca687139de6a3620ebe2a0668157858237bedaea (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
- pipeline:
    name: check
    manager: independent
    post-review: true
    trigger:
      gerrit:
        - event: patchset-created
      github:
        - event: pull_request
          action: opened
    success:
      gerrit:
        Verified: 1
      github: {}
    failure:
      gerrit:
        Verified: -1
      github: {}

- 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
      - name: network
        label: network-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: executor-only-inventory
    nodeset:
      nodes: []
    run: playbooks/executor-only-inventory.yaml

- job:
    name: group-inventory
    nodeset: nodeset1
    run: playbooks/group-inventory.yaml
    group-vars:
      ceph-osd:
        ceph_var: ceph

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

- job:
    name: jinja2-message
    files: jinja.txt
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    run: playbooks/jinja2-message.yaml

- job:
    name: network
    files: network.txt
    nodeset:
      nodes:
        - name: controller
          label: ubuntu-xenial
        - name: appliance
          label: network
    host-vars:
      appliance:
        ansible_network_os: foo
    run: playbooks/network.yaml

- job:
    name: ansible-version28-inventory
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    ansible-version: '2.8'
    run: playbooks/ansible-version.yaml

- job:
    name: ansible-version29-inventory
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    ansible-version: '2.9'
    run: playbooks/ansible-version.yaml

- job:
    name: ansible-version5-inventory
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    ansible-version: '5'
    run: playbooks/ansible-version.yaml

- job:
    name: ansible-version6-inventory
    nodeset:
      nodes:
        - name: ubuntu-xenial
          label: ubuntu-xenial
    ansible-version: '6'
    run: playbooks/ansible-version.yaml