summaryrefslogtreecommitdiff
path: root/zuul.d/base.yaml
blob: 182e5d3d46db6cf11008855249ce81e190972423 (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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
# zuul.d/base.yaml
# This file contains parent layouts for all TripleO jobs.
# Do not add children specific layout here.

- job:
    name: tripleo-ci-base
    abstract: true
    description: |
        Base abstract job for all TripleO CI zuulv3 jobs
    parent: multinode
    timeout: 10800
    post-timeout: 3600
    vars:
      unbound_cache_min_ttl: 900
      ara_generate_html: true
      bridge_name: br-ex
      bridge_address_prefix: 192.168.24
      bridge_address_subnet: 24
      bridge_address_offset: 2
      bridge_mtu: 1350
    nodeset: two-centos-7-nodes
    roles:
      - zuul: git.openstack.org/openstack-infra/zuul-jobs
      - zuul: git.openstack.org/openstack-infra/openstack-zuul-jobs
    required-projects:
      - git.openstack.org/openstack-infra/tripleo-ci
      - git.openstack.org/openstack/tripleo-quickstart
      - git.openstack.org/openstack/tripleo-quickstart-extras
      - git.openstack.org/openstack/tripleo-upgrade
      - git.openstack.org/openstack/browbeat
      - git.openstack.org/openstack/tripleo-ha-utils
    pre-run:
      - playbooks/nodepool-provider/pre.yaml
      - playbooks/openstack-zuul-jobs/legacy/pre.yaml
      - playbooks/tripleo-ci/ceph.yaml
    run: playbooks/tripleo-ci/run-v3.yaml
    post-run: playbooks/tripleo-ci/post.yaml
    irrelevant-files:
      - ^.*\.md$
      - ^.*\.rst$
      - ^doc/.*$
      - ^etc/.*$
      - ^metadata.json$
      - ^releasenotes/.*$
      - ^requirements.txt$
      - ^test-requirements.txt$
      - ^spec/.*$
      - ^Puppetfile.*$
      - tox.ini
      - ^setup.*$

- job:
    name: tripleo-ci-base-multinode
    abstract: true
    description: |
        Base abstract job for multinode TripleO CI zuulv3 jobs
    parent: tripleo-ci-base
    vars:
      undercloud: 127.0.0.2
      environment_infra: osinfra
      environment_type: multinode
      common_featureset: featureset-multinode-common.yml
      playbooks:
        - quickstart.yml
        - multinode-undercloud.yml
        - multinode-overcloud-prep.yml
        - multinode-overcloud.yml
        - multinode-overcloud-update.yml
        - multinode-overcloud-upgrade.yml
        - multinode-validate.yml
      tags:
        - build
        - undercloud-setup
        - undercloud-scripts
        - undercloud-install
        - undercloud-post-install
        - tripleo-validations
        - overcloud-scripts
        - overcloud-prep-config
        - overcloud-prep-containers
        - overcloud-deploy
        - overcloud-post-deploy
        - overcloud-validate

- job:
    name: tripleo-ci-base-ovb
    abstract: true
    description: |
        Base abstract job for OVB TripleO CI zuulv3 jobs
    parent: tripleo-ci-base
    nodeset: single-centos-7-node
    vars:
      undercloud: undercloud
      environment_infra: ovb
      environment_type: ovb
      playbooks:
        - ovb-setup.yml
        - baremetal-full-undercloud.yml
        - baremetal-full-overcloud-prep.yml
        - baremetal-full-overcloud.yml
        - baremetal-full-overcloud-validate.yml
      tags:
        - all

- job:
    name: tripleo-ci-base-singlenode
    abstract: true
    description: |
        Base abstract job for singlenode TripleO CI zuulv3 jobs
    parent: tripleo-ci-base
    nodeset: single-centos-7-node
    vars:
      undercloud: 127.0.0.2
      environment_infra: osinfra
      environment_type: singlenode
      common_featureset: featureset-multinode-common.yml
      playbooks:
        - quickstart.yml
        - multinode-undercloud.yml
        - multinode-undercloud-upgrade.yml
        - multinode-overcloud-prep.yml
        - multinode-overcloud.yml
        - multinode-overcloud-upgrade.yml
        - multinode-validate.yml
      tags:
        - build
        - undercloud-setup
        - undercloud-scripts
        - undercloud-install
        - undercloud-validate
        - images

- job:
    name: tripleo-ci-base-standalone
    abstract: true
    description: |
        Base abstract job for standalone TripleO CI zuulv3 jobs
    parent: tripleo-ci-base
    nodeset: single-centos-7-node
    vars:
      undercloud: 127.0.0.2
      environment_infra: osinfra
      environment_type: standalone
      common_featureset: featureset-multinode-common.yml
      playbooks:
        - quickstart.yml
        - multinode-standalone.yml
      tags:
        - build
        - standalone

- job:
    name: tripleo-ci-dsvm
    description: |
      Base job template for TripleO jobs that leverage devstack-gate/dsvm
    parent: legacy-dsvm-base
    pre-run: playbooks/nodepool-provider/pre.yaml
    vars:
      # Note (dmsimard): This enforces a minimum TTL for DNS records, see
      # https://review.openstack.org/#/c/523178/ for context
      unbound_cache_min_ttl: 900
    required-projects:
      - git.openstack.org/openstack-infra/devstack-gate
      - git.openstack.org/openstack-infra/tripleo-ci
      - git.openstack.org/openstack/tripleo-quickstart
      - git.openstack.org/openstack/tripleo-quickstart-extras
      - git.openstack.org/openstack/tripleo-upgrade
    irrelevant-files:
      - ^.*\.md$
      - ^.*\.rst$
      - ^doc/.*$
      - ^etc/.*$
      - ^metadata.json$
      - ^releasenotes/.*$
      - ^requirements.txt$
      - ^test-requirements.txt$
      - ^spec/.*$
      - ^Puppetfile.*$
      - tox.ini
      - ^setup.*$

- job:
    name: tripleo-ci-dsvm-multinode
    description: |
      Base legacy job for multinode tripleo jobs.
      Ensures the firewall allows all traffic between test nodes.
    parent: tripleo-ci-dsvm
    roles:
      - zuul: openstack-infra/zuul-jobs
    pre-run: playbooks/multinode-networking/pre.yaml