From: zhihui wu Date: Mon, 22 May 2017 07:43:29 +0000 (+0800) Subject: update run_ci.sh X-Git-Tag: opnfv-5.0.0~97^2~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=9f28c17a9c5d62ede354d911327999b37c4ef711;p=qtip.git update run_ci.sh - change "qtip workspace create" to "qtip create" - set pod_name and scenario from env if not provided by user as options Change-Id: I0a7e1923c6e45a263147dd2f87a6a75c3751c65c Signed-off-by: zhihui wu --- diff --git a/tests/ci/run_ci.sh b/tests/ci/run_ci.sh index 8fd53b36..163adb39 100644 --- a/tests/ci/run_ci.sh +++ b/tests/ci/run_ci.sh @@ -45,6 +45,8 @@ done #set vars from env if not provided by user as options installer_type=${installer_type:-$INSTALLER_TYPE} installer_ip=${installer_ip:-$INSTALLER_IP} +pod_name=${pod_name:-$POD_NAME} +scenario=${scenario:-$SCENARIO} sshoptions="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" @@ -65,7 +67,7 @@ esac cd /home/opnfv -qtip workspace create --pod ${pod_name} --installer ${installer_type} \ +qtip create --pod ${pod_name} --installer ${installer_type} \ --master-host ${installer_ip} --scenario ${scenario} workspace cd /home/opnfv/workspace/