summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-02-27 12:10:06 +0800
committerwutianwei <wutianwei1@huawei.com>2018-02-27 14:14:10 +0800
commit29e930d1abc38b7345c66660bfea85365b7ac345 (patch)
treed7fcc6580866ba5cc468708acc5d585934ebe7e4 /ci
parent9282b64991b14a1df88b4f23e324f0addeca83af (diff)
set the kubernetes variable
According to DEPLOY_SCENARIO, we set different nfvi and distro. Change-Id: I3082923fc7d4a1309c1de83f988f831d67c10d64 Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy_ci.sh9
1 files changed, 5 insertions, 4 deletions
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