set the kubernetes variable 99/52699/2
authorwutianwei <wutianwei1@huawei.com>
Tue, 27 Feb 2018 04:10:06 +0000 (12:10 +0800)
committerwutianwei <wutianwei1@huawei.com>
Tue, 27 Feb 2018 06:14:10 +0000 (14:14 +0800)
According to DEPLOY_SCENARIO, we set different nfvi and distro.

Change-Id: I3082923fc7d4a1309c1de83f988f831d67c10d64
Signed-off-by: wutianwei <wutianwei1@huawei.com>
ci/deploy_ci.sh

index bd5adcc..dd8786a 100755 (executable)
@@ -18,12 +18,13 @@ case $DEPLOY_SCENARIO in
         echo "os-onos-sfc-ha scenario supports mitaka only"
         exit 1
         ;;
-    k8-nosdn-nofeature-ha)
-        export COMPASS_OS_VERSION=centos7
-        export KUBERNETES_VERSION="v1.7.3"
-        ;;
 esac
 
+if [[ "$DEPLOY_SCENARIO" =~ "k8-" ]]; then
+        export KUBERNETES_VERSION="v1.7.3"
+fi
+
+
 if [[ "$NODE_NAME" =~ "intel-pod17" ]]; then
     export USER_NAMESERVER=8.8.8.8
 fi