From 0432c91cb2c2e11576a63ec93f596c4fb5c9286b Mon Sep 17 00:00:00 2001 From: wutianwei Date: Thu, 14 Dec 2017 10:33:21 +0800 Subject: add the DNS server when run in intel lab Change-Id: I07a9de2f1ed337e289d19241757db0e128ac595d Signed-off-by: wutianwei --- ci/deploy_ci.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ci') diff --git a/ci/deploy_ci.sh b/ci/deploy_ci.sh index 5fa19cef..bd5adcc7 100755 --- a/ci/deploy_ci.sh +++ b/ci/deploy_ci.sh @@ -24,10 +24,14 @@ case $DEPLOY_SCENARIO in ;; esac +if [[ "$NODE_NAME" =~ "intel-pod17" ]]; then + export USER_NAMESERVER=8.8.8.8 +fi + if [[ $ROOT_BUILD_CAUSE == MANUALTRIGGER ]]; then # For manual ci trigger build, directly use the value pass from CI export COMPASS_OS_VERSION=${COMPASS_OS_VERSION:-xenial} - export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-newton} + export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-pike} else # For daily build or verify build, adjust COMPASS_OS_VERSION and OPENSTACK_VERSION @@ -35,10 +39,10 @@ else if [[ $COMPASS_OS_VERSION == centos7 ]]; then export COMPASS_OS_VERSION=${COMPASS_OS_VERSION:-centos7} - export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-newton} + export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-pike} else export COMPASS_OS_VERSION=${COMPASS_OS_VERSION:-xenial} - export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-newton} + export COMPASS_OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION:-pike} fi fi -- cgit 1.2.3-korg