kolla-ansible/tests
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
..
roles/remote-template Test upgrades in CI 2019-03-27 16:13:49 +00:00
templates Test upgrades in CI 2019-03-27 16:13:49 +00:00
__init__.py Add py27 py34 pypy unittest 2016-01-13 13:47:49 +08:00
ansible_setup_ceph_disks.yml Enable multi-scenario gates 2017-06-19 10:14:33 -07:00
check-failure.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00
deploy-bifrost.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00
deploy.sh Add NFV orchestration services CI job 2018-12-21 11:43:22 +01:00
get_logs.sh Add haproxy stats to gate logs 2019-02-21 12:55:54 +01:00
post.yml Suppress log copy output in gates 2018-11-20 11:14:24 +00:00
pre.yml Verify YAML syntax in gates 2018-03-26 17:56:22 +02:00
reconfigure.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00
run.yml Test upgrades in CI 2019-03-27 16:13:49 +00:00
setup_disks.sh Add cinder-lvm CI job 2019-03-01 14:36:30 +00:00
setup_gate.sh Convert gate to file backend rather than partition 2016-01-21 22:59:13 +00:00
test_kolla_docker.py Fix kolla-docker possible undefined variable 2019-03-10 19:13:00 +01:00
test_merge_config.py Support parsing ini files with no sections 2018-03-16 15:26:41 +00:00
test_merge_yaml.py Support merging nested yaml config 2018-11-05 18:09:22 +00:00
test-bifrost.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00
test-openstack.sh Add cinder-lvm CI job 2019-03-01 14:36:30 +00:00
test-scenario-nfv.sh Add NFV orchestration services CI job 2018-12-21 11:43:22 +01:00
upgrade-bifrost.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00
upgrade.sh Refactor CI testing scripts 2018-11-06 16:43:19 +00:00