summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-12-14 10:33:21 +0800
committerwutianwei <wutianwei1@huawei.com>2017-12-14 10:33:21 +0800
commit0432c91cb2c2e11576a63ec93f596c4fb5c9286b (patch)
tree4be82b5079ed9ff2dea458d3af06be2141d65b15
parentc697e9fa334ee4c6c94516ea85bce37da31e9abf (diff)
add the DNS server when run in intel lab
Change-Id: I07a9de2f1ed337e289d19241757db0e128ac595d Signed-off-by: wutianwei <wutianwei1@huawei.com>
-rwxr-xr-xci/deploy_ci.sh10
1 files changed, 7 insertions, 3 deletions
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