aboutsummaryrefslogtreecommitdiff
path: root/zuul.d/base.yaml
blob: e5419fbc418e90d70cb53480f18dc4189d4de0da (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
---
- job:
    name: kolla-ansible-base
    pre-run: tests/pre.yml
    run: tests/run.yml
    post-run: tests/post.yml
    timeout: 9000
    post-timeout: 1800
    required-projects:
      - openstack/ansible-collection-kolla
      - openstack/kolla
      - openstack/kolla-ansible
      - openstack/requirements
    files:
      - ^ansible/site.yml
      - ^ansible/group_vars/all/common.yml
      - ^ansible/roles/certificates/
      - ^requirements-core.yml
      - ^roles/kolla-ansible-test-dashboard/
      - ^tests/check-(config|failure|logs).sh
      - ^tests/get_logs.sh
      - ^tests/init-core-openstack.sh
      - ^tests/(run|pre|post).yml
      - ^tests/setup_gate.sh
      - ^tests/templates/(inventory|globals-default).j2
      - ^tests/upgrade.sh
    irrelevant-files:
      - ^.*\.rst$
      - ^bindep.txt$
      - ^doc/.*
      - ^releasenotes/.*$
      - ^deploy-guide/.*$
      - ^test-requirements.txt$
      - ^lint-requirements.txt$
      - ^etc/kolla/globals.yml$
      - ^tox.ini$
      - ^\..+
      - ^LICENSE$
      - ^contrib/
      - ^specs/
      - ^kolla_ansible/tests/
      - ^tools/validate-.*$
      - ^zuul.d/
    roles:
      - zuul: zuul/zuul-jobs
      - zuul: openstack/kolla
    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.17.*"
      ansible_core_version_max: "==2.19.*"
      ansible_core_version_min: "==2.18.*"
      # 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"
      base_distro: "{{ zuul.job.split('-').2 }}"
      configure_swap_size: 0
      container_engine: "docker"
      is_upgrade: "{{ 'upgrade' in zuul.job }}"
      is_slurp: "{{ 'slurp' in zuul.job }}"
      kolla_ansible_tempest_regex:
        - .*smoke.*
      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: "{{ '2025.1' if is_slurp else '2025.2' }}"
      scenario: core
      scenario_images_core:
        - ^cron
        - ^fluentd
        - ^glance
        - ^haproxy
        - ^heat
        - ^horizon
        - ^keepalived
        - ^keystone
        - ^kolla-toolbox
        - ^mariadb
        - ^memcached
        - ^neutron
        - ^nova-
        - ^openvswitch
        - ^placement
        - ^proxysql
        - ^rabbitmq
      tls_enabled: true
      virt_type: qemu