From 9f28c17a9c5d62ede354d911327999b37c4ef711 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Mon, 22 May 2017 15:43:29 +0800 Subject: 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 --- tests/ci/run_ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/ -- cgit 1.2.3-korg