Browse Source

Fix mesos gate

Use DEVSTACK_LOCAL_CONFIG istead of localrc to pass
MAGNUM_IMAGE_URL.

Change-Id: I5b18ff84b532483c166fc92bf4c84e4e7dbd23bb
Spyros Trigazis 2 years ago
parent
commit
07480298c2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      magnum/tests/contrib/gate_hook.sh

+ 2
- 2
magnum/tests/contrib/gate_hook.sh View File

@@ -34,9 +34,9 @@ export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-api"
34 34
 export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-collector"
35 35
 
36 36
 if [ "$coe" = "mesos" ]; then
37
-    echo "MAGNUM_GUEST_IMAGE_URL=https://tarballs.openstack.org/magnum/images/ubuntu-mesos.qcow2" >> $BASE/new/devstack/localrc
37
+    export DEVSTACK_LOCAL_CONFIG+=$'\n'"MAGNUM_GUEST_IMAGE_URL=https://tarballs.openstack.org/magnum/images/ubuntu-mesos.qcow2"
38 38
 elif [ "$coe" = "k8s-coreos" ]; then
39
-    echo "MAGNUM_GUEST_IMAGE_URL=http://beta.release.core-os.net/amd64-usr/current/coreos_production_openstack_image.img.bz2" >> $BASE/new/devstack/localrc
39
+    export DEVSTACK_LOCAL_CONFIG+=$'\n'"MAGNUM_GUEST_IMAGE_URL=http://beta.release.core-os.net/amd64-usr/current/coreos_production_openstack_image.img.bz2"
40 40
 elif [ "${coe}${special}" = "k8s-ironic" ]; then
41 41
     export DEVSTACK_LOCAL_CONFIG+=$'\n'"MAGNUM_GUEST_IMAGE_URL='https://fedorapeople.org/groups/magnum/fedora-25-kubernetes-ironic.tar.gz'"
42 42
     export DEVSTACK_LOCAL_CONFIG+=$'\n'"MAGNUM_IMAGE_NAME='fedora-25-kubernetes-ironic'"

Loading…
Cancel
Save