CentOS 8: CI: Add upgrade job
Test upgrade from CentOS 8 train to CentOS 8 master. Change-Id: Ibff2c7f8844dec4758945cbc7aa8df80d70a3dfd Partially-Implements: blueprint centos-rhel-8
This commit is contained in:
parent
19671fb3c7
commit
29f223c02a
@ -11,6 +11,8 @@
|
|||||||
vars:
|
vars:
|
||||||
# NOTE(yoctozepto): needed here to use in other facts too
|
# NOTE(yoctozepto): needed here to use in other facts too
|
||||||
openstack_core_enabled: "{{ scenario not in ['bifrost', 'mariadb'] }}"
|
openstack_core_enabled: "{{ scenario not in ['bifrost', 'mariadb'] }}"
|
||||||
|
# TODO(mgoddard): Remove when previous_release is ussuri.
|
||||||
|
is_centos8: "{{ ansible_os_family == 'RedHat' and ansible_distribution_major_version | int == 8 }}"
|
||||||
set_fact:
|
set_fact:
|
||||||
kolla_inventory_path: "/etc/kolla/inventory"
|
kolla_inventory_path: "/etc/kolla/inventory"
|
||||||
logs_dir: "/tmp/logs"
|
logs_dir: "/tmp/logs"
|
||||||
@ -24,7 +26,7 @@
|
|||||||
openstack_core_tested: "{{ scenario in ['core', 'ceph-ansible', 'zun', 'cells', 'swift', 'linuxbridge'] }}"
|
openstack_core_tested: "{{ scenario in ['core', 'ceph-ansible', 'zun', 'cells', 'swift', 'linuxbridge'] }}"
|
||||||
dashboard_enabled: "{{ openstack_core_enabled }}"
|
dashboard_enabled: "{{ openstack_core_enabled }}"
|
||||||
# TODO(mgoddard): Remove when previous_release is ussuri.
|
# TODO(mgoddard): Remove when previous_release is ussuri.
|
||||||
playbook_python_version: "{{ '2' if is_upgrade and previous_release == 'train' else '3' }}"
|
playbook_python_version: "{{ '2' if is_upgrade and previous_release == 'train' and not is_centos8 else '3' }}"
|
||||||
|
|
||||||
- name: Install xfsprogs package for Swift filesystems
|
- name: Install xfsprogs package for Swift filesystems
|
||||||
become: true
|
become: true
|
||||||
@ -498,6 +500,7 @@
|
|||||||
executable: pip2
|
executable: pip2
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
|
when: playbook_python_version == '2'
|
||||||
|
|
||||||
- name: install ansible and ARA for python 3
|
- name: install ansible and ARA for python 3
|
||||||
vars:
|
vars:
|
||||||
|
@ -140,6 +140,16 @@
|
|||||||
install_type: source
|
install_type: source
|
||||||
is_upgrade: yes
|
is_upgrade: yes
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: kolla-ansible-centos8-source-upgrade
|
||||||
|
parent: kolla-ansible-base
|
||||||
|
nodeset: kolla-ansible-centos8
|
||||||
|
timeout: 9000
|
||||||
|
vars:
|
||||||
|
base_distro: centos
|
||||||
|
install_type: source
|
||||||
|
is_upgrade: yes
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: kolla-ansible-ubuntu-source-upgrade
|
name: kolla-ansible-ubuntu-source-upgrade
|
||||||
parent: kolla-ansible-base
|
parent: kolla-ansible-base
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
- kolla-ansible-centos8-binary-ironic
|
- kolla-ansible-centos8-binary-ironic
|
||||||
- kolla-ansible-ubuntu-source-ironic
|
- kolla-ansible-ubuntu-source-ironic
|
||||||
- kolla-ansible-centos-source-upgrade
|
- kolla-ansible-centos-source-upgrade
|
||||||
|
- kolla-ansible-centos8-source-upgrade
|
||||||
- kolla-ansible-ubuntu-source-upgrade
|
- kolla-ansible-ubuntu-source-upgrade
|
||||||
- kolla-ansible-centos-binary
|
- kolla-ansible-centos-binary
|
||||||
- kolla-ansible-centos8-binary
|
- kolla-ansible-centos8-binary
|
||||||
|
Loading…
Reference in New Issue
Block a user