From: wutianwei Date: Tue, 27 Feb 2018 04:10:06 +0000 (+0800) Subject: set the kubernetes variable X-Git-Tag: opnfv-6.0.0~28^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F52699%2F2;p=compass4nfv.git set the kubernetes variable According to DEPLOY_SCENARIO, we set different nfvi and distro. Change-Id: I3082923fc7d4a1309c1de83f988f831d67c10d64 Signed-off-by: wutianwei --- 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