From 29e930d1abc38b7345c66660bfea85365b7ac345 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Tue, 27 Feb 2018 12:10:06 +0800 Subject: set the kubernetes variable According to DEPLOY_SCENARIO, we set different nfvi and distro. Change-Id: I3082923fc7d4a1309c1de83f988f831d67c10d64 Signed-off-by: wutianwei --- ci/deploy_ci.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ci') diff --git a/ci/deploy_ci.sh b/ci/deploy_ci.sh index bd5adcc7..dd8786af 100755 --- a/ci/deploy_ci.sh +++ b/ci/deploy_ci.sh @@ -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 -- cgit 1.2.3-korg