kolla-ansible/zuul.d/jobs.yaml
Mark Goddard c23c9b2c25 Test upgrades in CI
This patch adds two new jobs:

* kolla-ansible-centos-source-upgrade
* kolla-ansible-ubuntu-source-upgrade

These jobs first deploy a control plane using the previous release of
Kolla Ansible, then upgrade to the current release.

Because we can't change the branch of the git repository on the Zuul
executor, we change the branch of the kolla-ansible repository on the
primary node to the branch of the previous release, in this case
stable/rocky. A new remote-template role has been added that supports
generating templates using a remote template source, to generate config
files using the previous kolla-ansible branch.

If the change being tested depends on a kolla change for the current
branch, then we build images. Rather than using the current
kolla-ansible version to tag the images, we now tag them with
change_<gerrit change ID>. This is because the version of kolla-ansible
will change from the previous release to the current one as we upgrade
the system.

Finally, it should be noted that the 'previous_release' variable in the
Zuul config needs to be updated with each release, since this sets the
release of kolla-ansible that is installed initially.

Depends-On: https://review.openstack.org/645089/
Depends-On: https://review.openstack.org/644250/
Depends-On: https://review.openstack.org/645816/
Depends-On: https://review.openstack.org/645840/
Change-Id: If301e0affcd55360fefe3b105f023ae5c47b0853
2019-03-27 16:13:49 +00:00

169 lines
3.8 KiB
YAML

---
- job:
name: kolla-ansible-centos-source
parent: kolla-ansible-base
nodeset: kolla-ansible-centos
vars:
base_distro: centos
install_type: source
- job:
name: kolla-ansible-ubuntu-source
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic
vars:
base_distro: ubuntu
install_type: source
- job:
name: kolla-ansible-oraclelinux-source
parent: kolla-ansible-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: oraclelinux
install_type: source
- job:
name: kolla-ansible-centos-binary
parent: kolla-ansible-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: centos
install_type: binary
- job:
name: kolla-ansible-ubuntu-binary
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic
voting: false
vars:
base_distro: ubuntu
install_type: binary
- job:
name: kolla-ansible-oraclelinux-binary
parent: kolla-ansible-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: oraclelinux
install_type: binary
- job:
name: kolla-ansible-ubuntu-source-ceph
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic-multi
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore
- job:
name: kolla-ansible-centos-source-ceph
parent: kolla-ansible-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: centos
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore
- job:
name: kolla-ansible-oraclelinux-source-ceph
parent: kolla-ansible-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: oraclelinux
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore
- job:
name: kolla-ansible-ubuntu-source-cinder-lvm
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic-multi
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: cinder-lvm
- job:
name: kolla-ansible-centos-source-cinder-lvm
parent: kolla-ansible-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: centos
install_type: source
scenario: cinder-lvm
- job:
name: kolla-ansible-centos-source-upgrade
parent: kolla-ansible-upgrade-base
nodeset: kolla-ansible-centos
vars:
base_distro: centos
install_type: source
- job:
name: kolla-ansible-ubuntu-source-upgrade
parent: kolla-ansible-upgrade-base
nodeset: kolla-ansible-bionic
vars:
base_distro: ubuntu
install_type: source
- job:
name: kolla-ansible-bifrost-centos-source
parent: kolla-ansible-bifrost-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: centos
- job:
name: kolla-ansible-ubuntu-source-zun
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: zun
- job:
name: kolla-ansible-centos-source-scenario-nfv
parent: kolla-ansible-base
nodeset: kolla-ansible-centos-multi
description: CI scenario to test NFV orchestration
voting: false
vars:
base_distro: centos
install_type: source
scenario: scenario_nfv