kolla-ansible/zuul.d/base.yaml
Michal Nasiadka ab328b89ed CI: Add globals-default and inventory trigger to all jobs
Change-Id: I2dfb6f6d8b85d8b51e817b6f2a7abd6930383e9f
2024-09-06 14:18:02 +02:00

356 lines
10 KiB
YAML

---
- job:
name: kolla-ansible-variables
vars:
address_family: 'ipv4'
# Test latest ansible-core version on Ubuntu, minimum supported on others.
# Use SLURP version (two releases back) on SLURP upgrades.
ansible_core_version_constraint: >-
{{ ansible_core_version_slurp if is_slurp else ansible_core_version_min if is_upgrade or ansible_facts.distribution != "Ubuntu" else ansible_core_version_max }}
ansible_core_version_slurp: "==2.16.*"
ansible_core_version_max: "==2.17.*"
ansible_core_version_min: "==2.16.*"
# Test latest ansible-core version on Ubuntu, minimum supported on others.
# Use SLURP version (two releases back) on SLURP upgrades.
# TODO(mnasiadka): Remove in D.
ansible_version_constraint: >-
{{ ansible_version_slurp if is_slurp else ansible_version_min if is_upgrade or ansible_facts.distribution != "Ubuntu" else ansible_version_max }}
ansible_version_slurp: "==9.*"
ansible_version_min: "==9.*"
ansible_version_max: "==10.*"
# NOTE(mgoddard): Test the use of interface names with dashes.
api_interface_name: "vxlan-0"
api_network_prefix: "192.0.2."
api_network_prefix_length: "24"
configure_swap_size: 0
container_engine: "docker"
is_upgrade: false
is_slurp: false
kolla_internal_vip_address: "192.0.2.10"
le_enabled: false
neutron_external_bridge_name: br-0
neutron_external_interface_name: "veth-{{ neutron_external_bridge_name }}-ext"
neutron_external_network_prefix: "198.51.100."
neutron_external_network_prefix_length: "24"
neutron_external_vxlan_interface_name: "vxlan-1"
neutron_tenant_network_dns_server: "8.8.8.8"
neutron_tenant_network_prefix: "203.0.113."
neutron_tenant_network_prefix_length: "24"
previous_release: "2024.1"
scenario: core
tls_enabled: false
virt_type: qemu
- job:
parent: kolla-ansible-variables
name: kolla-ansible-base
pre-run: tests/pre.yml
run: tests/run.yml
post-run: tests/post.yml
timeout: 7200
post-timeout: 1800
required-projects:
- openstack/ansible-collection-kolla
- openstack/kolla
- openstack/kolla-ansible
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^doc/.*
- ^releasenotes/.*$
- ^deploy-guide/.*$
- ^test-requirements.txt$
- ^lint-requirements.txt$
- ^etc/kolla/globals.yml$
- ^tox.ini$
- ^\..+
- ^LICENSE$
- ^contrib/
- ^specs/
- ^kolla_ansible/tests/
- ^tools/validate-.*$
roles:
- zuul: zuul/zuul-jobs
- zuul: openstack/kolla
- job:
name: kolla-ansible-kvm-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(nova-cell)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/templates/nova-compute-overrides.j2
vars:
virt_type: kvm
- job:
name: kolla-ansible-ipv6-base
parent: kolla-ansible-base
voting: false
vars:
api_network_prefix: "fd::"
api_network_prefix_length: "64"
kolla_internal_vip_address: "fd::ff:0"
neutron_external_network_prefix: "fd:1::"
neutron_external_network_prefix_length: "64"
neutron_tenant_network_prefix: "fd:f0::"
neutron_tenant_network_prefix_length: "64"
neutron_tenant_network_dns_server: 2001:4860:4860::8888
address_family: 'ipv6'
- job:
name: kolla-ansible-bifrost-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/bifrost/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-bifrost.sh
vars:
scenario: bifrost
- job:
name: kolla-ansible-ironic-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(ironic|neutron|nova|nova-cell)/
- ^tests/deploy-tenks\.sh$
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/templates/ironic-overrides\.j2$
- ^tests/templates/tenks-deploy-config\.yml\.j2$
- ^tests/test-dashboard\.sh$
- ^tests/test-ironic\.sh$
required-projects:
- openstack/tenks
vars:
scenario: ironic
- job:
name: kolla-ansible-zun-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(zun|kuryr|etcd|cinder|iscsi)/
- ^tests/setup_disks.sh
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-core-openstack.sh
- ^tests/test-zun.sh
- ^tests/test-dashboard.sh
vars:
scenario: zun
- job:
name: kolla-ansible-swift-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(glance|swift)/
- ^tests/setup_disks.sh
- ^tests/init-swift.sh
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-core-openstack.sh
- ^tests/test-dashboard.sh
- ^tests/test-swift.sh
vars:
scenario: swift
- job:
name: kolla-ansible-cephadm-base
parent: kolla-ansible-base
voting: false
vars:
scenario: cephadm
- job:
name: kolla-ansible-magnum-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(designate|magnum|trove)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-dashboard.sh
- ^tests/test-magnum.sh
vars:
scenario: magnum
- job:
name: kolla-ansible-octavia-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(octavia|octavia-certificates)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-dashboard.sh
- ^tests/test-octavia.sh
vars:
scenario: octavia
- job:
name: kolla-ansible-masakari-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/masakari/
- ^ansible/roles/hacluster/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-masakari.sh
- ^tests/test-dashboard.sh
vars:
scenario: masakari
- job:
name: kolla-ansible-mariadb-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/mariadb/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-mariadb.sh
vars:
scenario: mariadb
- job:
name: kolla-ansible-scenario-nfv-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(aodh|barbican|heat|mistral|redis|tacker)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-scenario-nfv.sh
- ^tests/test-dashboard.sh
vars:
scenario: scenario_nfv
- job:
name: kolla-ansible-cells-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/nova/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-core-openstack.sh
vars:
scenario: cells
- job:
name: kolla-ansible-ovn-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(neutron|octavia|openvswitch|ovn-controller|ovn-db)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-ovn.sh
- ^tests/test-core-openstack.sh
- ^tests/reconfigure.sh
vars:
scenario: ovn
- job:
name: kolla-ansible-prometheus-opensearch-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(common|opensearch|grafana|prometheus)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-prometheus-opensearch.sh
vars:
scenario: prometheus-opensearch
- job:
name: kolla-ansible-venus-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/(common|opensearch|venus)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-venus.sh
vars:
scenario: venus
- job:
name: kolla-ansible-hashi-vault-base
parent: kolla-ansible-variables
run: tests/run-hashi-vault.yml
required-projects:
- openstack/kolla-ansible
- openstack/requirements
voting: false
files:
- ^requirements-core.yml
- ^kolla_ansible/
- ^tests/run-hashi-vault.yml
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-hashicorp-vault-passwords.sh
- job:
name: kolla-ansible-haproxy-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/haproxy/
- ^kolla_ansible/kolla_url.py
- ^tests/templates/(inventory|globals-default.j2)
vars:
external_api_interface_name: vxlan2
external_api_network_prefix: "192.0.3."
external_api_network_prefix_length: "24"
kolla_external_vip_address: "192.0.3.10"
scenario: haproxy
- job:
name: kolla-ansible-lets-encrypt-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/common/templates/conf/input/11-letsencrypt.conf.j2
- ^ansible/roles/(letsencrypt|loadbalancer)/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-core-openstack.sh
- ^tests/test-dashboard.sh
- ^tests/deploy.sh
vars:
scenario: lets-encrypt
tls_enabled: true
le_enabled: true
- job:
name: kolla-ansible-skyline-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/skyline/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-skyline.sh
vars:
scenario: skyline
- job:
name: kolla-ansible-skyline-sso-base
parent: kolla-ansible-base
voting: false
files:
- ^requirements-core.yml
- ^ansible/roles/skyline/
- ^tests/templates/(inventory|globals-default.j2)
- ^tests/test-skyline-sso.sh
vars:
scenario: skyline-sso