aboutsummaryrefslogtreecommitdiffstats
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:47:28 +0000
commitfadc5dd48f8339062c399760a0264e57b0bc2701 (patch)
treed7e4919c1a9c373d16fab22dcb65d643447116bc
parent65151f2d144f0d209b5dea6cd94491132bab6e24 (diff)
Set environment variables when running VTC daily
Change-Id: I791434ac5ac263cb12f256414cbc7e07a9a20765 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 329b808434a04ab1c6e8707f951d754582151acc)
-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'