From 24e3d15526dcfac6dd1d5b318a7fd7aa7fc4031f Mon Sep 17 00:00:00 2001 From: Felipe Vicens Date: Thu, 25 Jun 2020 21:52:06 +0200 Subject: [PATCH] Revert stackName Variable Adding BRANCH_NAME variable for release tests Change-Id: Ife3e1c727997e0348ed89019b1c8912840e53fe5 Signed-off-by: Felipe Vicens --- robot-systest/run_test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index f5753cc..edf32b7 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -52,7 +52,7 @@ while (( "$#" )); do shift 2 ;; -o|--osmclientversion) - OSMCLIENT=$2 install_osmclient + OSMCLIENT=$2 && install_osmclient shift 2 ;; -c|--createvim) @@ -98,8 +98,9 @@ done eval set -- "$PARAMS" -if [[ -n "$stackName" ]]; then - export OSM_HOSTNAME=osm${stackName}_nbi +if [[ -n "$BRANCH_NAME" ]]; then + PACKAGES=$BRANCH_NAME && download_packages + OSMCLIENT=$BRANCH_NAME && install_osmclient fi if [[ -z "${TEST}" ]]; then -- 2.25.1