Fix neutron upgrades
With the latest ops changes, we use the clouds.yaml file for API testing. We therefore need to generate it on localhost, where the API tests are located. On top of this, the scripts are modified to consider that previous branch is now queens, not pike. Change-Id: I0c1d6298cd394426b6e4acbc1859c901fdd80439 Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
This commit is contained in:
parent
82515c0eb8
commit
cd580de2c2
@ -57,7 +57,7 @@
|
||||
- name: os_previous_neutron
|
||||
src: https://git.openstack.org/openstack/openstack-ansible-os_neutron
|
||||
scm: git
|
||||
version: stable/pike
|
||||
version: stable/queens
|
||||
- name: opendaylight
|
||||
scm: git
|
||||
src: https://github.com/opendaylight/integration-packaging-ansible-opendaylight
|
||||
|
@ -25,6 +25,9 @@
|
||||
- "python-glanceclient"
|
||||
- "openstacksdk"
|
||||
tasks:
|
||||
- name: Lay clouds.yaml
|
||||
include_role:
|
||||
name: openstack_openrc
|
||||
- name: Install openstack sdk
|
||||
pip:
|
||||
name: "{{ upgrade_test_packages }}"
|
||||
|
@ -110,7 +110,7 @@ fi
|
||||
# tests repo are not supported.
|
||||
if [[ "${CLONE_UPGRADE_TESTS}" == "yes" ]]; then
|
||||
if [[ ! -d "${WORKING_DIR}/tests/common/previous" ]]; then
|
||||
git clone -b stable/pike \
|
||||
git clone -b stable/queens \
|
||||
https://git.openstack.org/openstack/openstack-ansible-tests \
|
||||
${WORKING_DIR}/tests/common/previous
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user