Lay out a clouds.yaml file before upgrading
Upgrades use the clouds.yaml instead of environment variables to test APIs. Swift doesn't have openstack_openrc in meta, and no role that applies to localhost in the whole functional test path has it. So we have to include openstack_openrc role. Change-Id: I5196ab338659c65a6a3b7ac03095bbfb1e26c0a8
This commit is contained in:
parent
37eb776041
commit
7ab62ddbea
@ -49,4 +49,4 @@
|
||||
- name: os_previous_swift
|
||||
src: https://git.openstack.org/openstack/openstack-ansible-os_swift
|
||||
scm: git
|
||||
version: stable/pike
|
||||
version: stable/queens
|
||||
|
@ -27,6 +27,9 @@
|
||||
- "python-glanceclient"
|
||||
- "openstacksdk"
|
||||
tasks:
|
||||
- name: Generate clouds.yaml for API testing
|
||||
include_role:
|
||||
name: "openstack_openrc"
|
||||
- name: Install openstack sdk
|
||||
pip:
|
||||
name: "{{ upgrade_test_packages }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user