CI: Run SLURP upgrade job
Change-Id: I246b14c9b547c6a0ff0be68ad57e723839cc3275
This commit is contained in:
parent
f0b7bf33ab
commit
09fb029569
@ -257,11 +257,12 @@
|
||||
|
||||
- name: Install kolla-ansible and dependencies
|
||||
vars:
|
||||
ansible_core_version_slurp: "==2.13.*"
|
||||
ansible_core_version_min: "==2.14.*"
|
||||
ansible_core_version_max: "==2.15.*"
|
||||
# Test latest ansible version on Ubuntu, minimum supported on others.
|
||||
ansible_core_version_constraint: >-
|
||||
{{ ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }}
|
||||
{{ ansible_core_version_slurp if is_slurp else ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }}
|
||||
pip:
|
||||
extra_args: "-c {{ upper_constraints_file }}"
|
||||
name:
|
||||
@ -270,19 +271,20 @@
|
||||
- "ara[server]<1.7"
|
||||
virtualenv: "{{ kolla_ansible_venv_path }}"
|
||||
|
||||
# TODO(mnasiadka): Remove in Caracal
|
||||
- name: Install Ansible on upgrade only
|
||||
# TODO(mnasiadka): Remove in D
|
||||
- name: Install Ansible on SLURP upgrade only
|
||||
vars:
|
||||
ansible_version_slurp: "==6.*"
|
||||
ansible_version_min: "==7.*"
|
||||
ansible_version_max: "==8.*"
|
||||
# Test latest ansible version on Ubuntu, minimum supported on others.
|
||||
ansible_version_constraint: >-
|
||||
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
|
||||
{{ ansible_version_slurp if is_slurp else ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
|
||||
pip:
|
||||
extra_args: "-c {{ upper_constraints_file }}"
|
||||
name: "ansible{{ ansible_version_constraint }}"
|
||||
virtualenv: "{{ kolla_ansible_venv_path }}"
|
||||
when: is_upgrade
|
||||
when: is_slurp
|
||||
|
||||
- name: Install Ansible collections
|
||||
shell: |
|
||||
@ -685,6 +687,28 @@
|
||||
new_requirements:
|
||||
collections: "{{ (old_requirements.collections | rejectattr('name', 'search', 'ansible-collection-kolla') | list) + [new_requirement] }}"
|
||||
|
||||
- name: Upgrade ansible
|
||||
vars:
|
||||
ansible_core_version_min: "==2.14.*"
|
||||
ansible_core_version_max: "==2.15.*"
|
||||
# Test latest ansible version on Ubuntu, minimum supported on others.
|
||||
ansible_core_version_constraint: >-
|
||||
{{ ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }}
|
||||
ansible_version_min: "==7.*"
|
||||
ansible_version_max: "==8.*"
|
||||
# Test latest ansible version on Ubuntu, minimum supported on others.
|
||||
ansible_version_constraint: >-
|
||||
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
|
||||
pip:
|
||||
extra_args: "-c {{ upper_constraints_file }}"
|
||||
name:
|
||||
- "{{ kolla_ansible_src_dir }}"
|
||||
- "ansible-core{{ ansible_core_version_constraint }}"
|
||||
- "ansible{{ ansible_version_constraint }}"
|
||||
- "ara<1.0.0"
|
||||
virtualenv: "{{ kolla_ansible_venv_path }}"
|
||||
when: is_slurp
|
||||
|
||||
- name: Upgrade kolla-ansible
|
||||
pip:
|
||||
extra_args: "-c {{ upper_constraints_file }}"
|
||||
|
@ -19,6 +19,7 @@
|
||||
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: br0
|
||||
|
@ -157,6 +157,19 @@
|
||||
is_upgrade: yes
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-rocky9-slurp-upgrade
|
||||
parent: kolla-ansible-base
|
||||
nodeset: kolla-ansible-rocky9
|
||||
timeout: 9000
|
||||
branches: master
|
||||
vars:
|
||||
base_distro: rocky
|
||||
is_upgrade: yes
|
||||
is_slurp: yes
|
||||
previous_release: 2023.1
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-debian-upgrade
|
||||
parent: kolla-ansible-base
|
||||
@ -167,6 +180,19 @@
|
||||
is_upgrade: yes
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-debian-slurp-upgrade
|
||||
parent: kolla-ansible-base
|
||||
nodeset: kolla-ansible-debian-bullseye
|
||||
timeout: 9000
|
||||
branches: master
|
||||
vars:
|
||||
base_distro: debian
|
||||
is_upgrade: yes
|
||||
is_slurp: yes
|
||||
previous_release: 2023.1
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-debian-upgrade-aarch64
|
||||
parent: kolla-ansible-debian-upgrade
|
||||
@ -182,6 +208,19 @@
|
||||
is_upgrade: yes
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-ubuntu-slurp-upgrade
|
||||
parent: kolla-ansible-base
|
||||
nodeset: kolla-ansible-jammy
|
||||
timeout: 9000
|
||||
branches: master
|
||||
vars:
|
||||
base_distro: ubuntu
|
||||
is_upgrade: yes
|
||||
is_slurp: yes
|
||||
previous_release: 2023.1
|
||||
tls_enabled: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-rocky9-upgrade-cephadm
|
||||
parent: kolla-ansible-cephadm-base
|
||||
@ -191,6 +230,18 @@
|
||||
base_distro: rocky
|
||||
is_upgrade: yes
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-rocky9-slurp-upgrade-cephadm
|
||||
parent: kolla-ansible-cephadm-base
|
||||
nodeset: kolla-ansible-rocky9-multi
|
||||
timeout: 9000
|
||||
branches: master
|
||||
vars:
|
||||
base_distro: rocky
|
||||
is_upgrade: yes
|
||||
is_slurp: yes
|
||||
previous_release: 2023.1
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-ubuntu-upgrade-cephadm
|
||||
parent: kolla-ansible-cephadm-base
|
||||
@ -201,6 +252,19 @@
|
||||
is_upgrade: yes
|
||||
cephadm_use_package_from_distribution: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-ubuntu-slurp-upgrade-cephadm
|
||||
parent: kolla-ansible-cephadm-base
|
||||
nodeset: kolla-ansible-jammy-multi
|
||||
timeout: 9000
|
||||
branches: master
|
||||
vars:
|
||||
base_distro: ubuntu
|
||||
is_upgrade: yes
|
||||
is_slurp: yes
|
||||
previous_release: 2023.1
|
||||
cephadm_use_package_from_distribution: true
|
||||
|
||||
- job:
|
||||
name: kolla-ansible-rocky9-upgrade-ovn
|
||||
parent: kolla-ansible-ovn-base
|
||||
|
@ -36,8 +36,11 @@
|
||||
- kolla-ansible-debian-ironic
|
||||
- kolla-ansible-ubuntu-ironic
|
||||
- kolla-ansible-rocky9-upgrade
|
||||
- kolla-ansible-rocky9-slurp-upgrade
|
||||
- kolla-ansible-debian-upgrade
|
||||
- kolla-ansible-debian-slurp-upgrade
|
||||
- kolla-ansible-ubuntu-upgrade
|
||||
- kolla-ansible-ubuntu-slurp-upgrade
|
||||
- kolla-ansible-ubuntu-cells
|
||||
- kolla-ansible-rocky9-cells
|
||||
- kolla-ansible-rocky9-mariadb
|
||||
@ -58,7 +61,9 @@
|
||||
- kolla-ansible-rocky9-cephadm
|
||||
- kolla-ansible-ubuntu-cephadm
|
||||
- kolla-ansible-rocky9-upgrade-cephadm
|
||||
- kolla-ansible-rocky9-slurp-upgrade-cephadm
|
||||
- kolla-ansible-ubuntu-upgrade-cephadm
|
||||
- kolla-ansible-ubuntu-slurp-upgrade-cephadm
|
||||
- kolla-ansible-rocky9-hashi-vault
|
||||
- kolla-ansible-rocky9-haproxy-fqdn
|
||||
- kolla-ansible-ubuntu-haproxy-fqdn
|
||||
|
Loading…
Reference in New Issue
Block a user