Download octavia image in tests
Instead of rebuilding one. Change-Id: I393158a2fac6d4399a7dde6a0f2e482751359072
This commit is contained in:
parent
0f1e2a0bc1
commit
84bb0a0fe6
@ -27,6 +27,7 @@
|
|||||||
- ^heat/locale/.*$
|
- ^heat/locale/.*$
|
||||||
- ^heat/tests/.*$
|
- ^heat/tests/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
|
pre-run: playbooks/get_amphora_tarball.yaml
|
||||||
vars:
|
vars:
|
||||||
disable_convergence: 'false'
|
disable_convergence: 'false'
|
||||||
sql: mysql
|
sql: mysql
|
||||||
|
@ -65,6 +65,9 @@
|
|||||||
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
|
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
|
||||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas"
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas"
|
||||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia https://git.openstack.org/openstack/octavia"
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin octavia https://git.openstack.org/openstack/octavia"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_FILE=/tmp/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_SIZE=3"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OCTAVIA_AMP_IMAGE_NAME=test-only-amphora-x64-haproxy-ubuntu-xenial"
|
||||||
# enabling lbaas plugin does not enable the lbaasv2 service, explicitly enable it
|
# enabling lbaas plugin does not enable the lbaasv2 service, explicitly enable it
|
||||||
services+=,q-lbaasv2,octavia,o-cw,o-hk,o-hm,o-api
|
services+=,q-lbaasv2,octavia,o-cw,o-hk,o-hm,o-api
|
||||||
export PROJECTS="openstack/barbican $PROJECTS"
|
export PROJECTS="openstack/barbican $PROJECTS"
|
||||||
|
6
playbooks/get_amphora_tarball.yaml
Normal file
6
playbooks/get_amphora_tarball.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- hosts: primary
|
||||||
|
tasks:
|
||||||
|
- name: Download amphora tarball
|
||||||
|
get_url:
|
||||||
|
url: "https://tarballs.openstack.org/octavia/test-images/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2"
|
||||||
|
dest: /tmp/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2
|
Loading…
Reference in New Issue
Block a user