Fix MAGNUM_IMAGE_NAME setting
The exported setting is not available on the context of that execution. Set that on the devstack/localrc file, together with MAGNUM_GUEST_IMAGE_URL, to be picked up properly by the tests. Change-Id: I22f616f7a9e2645cbf686ef02dd10ae726c9e674
This commit is contained in:
parent
63c099eb9a
commit
931dd364ff
@ -84,7 +84,6 @@
|
||||
export PROJECTS="openstack/barbican $PROJECTS"
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin magnum git://git.openstack.org/openstack/magnum"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
|
||||
export MAGNUM_IMAGE_NAME="fedora-atomic-f23-dib"
|
||||
|
||||
# Keep localrc to be able to set some vars in post_test_hook
|
||||
export KEEP_LOCALRC=1
|
||||
@ -92,6 +91,7 @@
|
||||
function gate_hook {
|
||||
cd /opt/stack/new/magnum/
|
||||
echo "MAGNUM_GUEST_IMAGE_URL='https://fedorapeople.org/groups/magnum/fedora-atomic-f23-dib.qcow2'" >> $BASE/new/devstack/localrc
|
||||
echo "MAGNUM_IMAGE_NAME='fedora-atomic-f23-dib'" >> $BASE/new/devstack/localrc
|
||||
./magnum/tests/contrib/gate_hook.sh k8s
|
||||
}
|
||||
export -f gate_hook
|
||||
|
Loading…
Reference in New Issue
Block a user