diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-02-27 12:10:06 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-02-27 14:14:10 +0800 |
commit | 29e930d1abc38b7345c66660bfea85365b7ac345 (patch) | |
tree | d7fcc6580866ba5cc468708acc5d585934ebe7e4 | |
parent | 9282b64991b14a1df88b4f23e324f0addeca83af (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>
-rwxr-xr-x | ci/deploy_ci.sh | 9 |
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 |