aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-03-23 14:29:06 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-03-23 13:43:17 +0000
commit329b808434a04ab1c6e8707f951d754582151acc (patch)
tree334d22609911d8b2d734842c2bbd05bbd64a3aaf /ci
parentcd5baa32609687c3ae8acd4b19dbb10cd0bd47ff (diff)
Set environment variables when running VTC daily
Change-Id: I791434ac5ac263cb12f256414cbc7e07a9a20765 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/apexlake-verify7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/apexlake-verify b/ci/apexlake-verify
index 81c532bab..6a691063f 100755
--- a/ci/apexlake-verify
+++ b/ci/apexlake-verify
@@ -13,9 +13,16 @@ DPDK_HOST=10.118.36.130
YARDSTICK=/home/user/yardstick
TESTSUITE=$YARDSTICK/tests/opnfv/test_suites/opnfv_vTC_daily.yaml
+: ${INSTALLER_TYPE:='unknown'}
+: ${NODE_NAME:='unknown'}
+: ${DEPLOY_SCENARIO:='unknown'}
+
commands="
cd $YARDSTICK
source /home/user/openrc.dasm
+export INSTALLER_TYPE=$INSTALLER_TYPE
+export NODE_NAME=$NODE_NAME
+export DEPLOY_SCENARIO=$DEPLOY_SCENARIO
sudo -E yardstick task start --suite $TESTSUITE"
echo "$commands" | ssh -l user $DPDK_HOST 'bash -s'