aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-05-22 15:43:29 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-05-23 09:33:21 +0800
commit9f28c17a9c5d62ede354d911327999b37c4ef711 (patch)
tree0926a5948f945388c4a68c6384f368c2641038b3 /tests
parentcb7725e8a3eee7ffaa9c9201a05ca836e4df9d39 (diff)
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 <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/ci/run_ci.sh4
1 files changed, 3 insertions, 1 deletions
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/