aboutsummaryrefslogtreecommitdiffstats
path: root/csit/run-csit.sh
diff options
context:
space:
mode:
authordemskeq8 <alexander.dehn@highstreet-technologies.com>2021-06-02 15:50:12 +0200
committerdemskeq8 <alexander.dehn@highstreet-technologies.com>2021-07-19 17:03:06 +0200
commitcb75097bcd353161aa91fdbf420ec92d01e31ec1 (patch)
tree656a8fc862669e7bbcdf4e8769eb093c2637ddc4 /csit/run-csit.sh
parent7af41819f26441ec614229028b38ca856586cc6b (diff)
[SNDC-CSIT] Provide test deployment for SDNC/R
Integration tests for wt feature set Issue-ID: SDNC-1562 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: If579b6f23b3e6291dc49b10952b23da2626e45b7 Former-commit-id: c15899f037944cabbcdee16460427b0f813599c3
Diffstat (limited to 'csit/run-csit.sh')
-rwxr-xr-xcsit/run-csit.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/csit/run-csit.sh b/csit/run-csit.sh
index eb255e93..e1b831af 100755
--- a/csit/run-csit.sh
+++ b/csit/run-csit.sh
@@ -154,12 +154,14 @@ TESTPLANDIR="${WORKSPACE}/${TESTPLAN}"
# Set env variables
source_safely "${WORKSPACE}/sdnc-csit.env"
+if [[ -z $ROBOT_IMAGE ]]; then
+ # Run installation of prerequired libraries
+ source_safely "${WORKSPACE}/prepare-csit.sh"
-# Run installation of prerequired libraries
-source_safely "${WORKSPACE}/prepare-csit.sh"
# Activate the virtualenv containing all the required libraries installed by prepare-csit.sh
source_safely "${ROBOT_VENV}/bin/activate"
+fi
WORKDIR=$(mktemp -d --suffix=-robot-workdir)
cd "${WORKDIR}"