Revert Hack to get CSIT test working 72/132272/4
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 16 Nov 2022 18:50:46 +0000 (10:50 -0800)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 17 Nov 2022 19:07:20 +0000 (11:07 -0800)
Reverted to using ROBOT3_VENV  (tetsing CI-mgmnt uodate)

Issue-ID: RELENG-4523
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I1e8ae6cba2b303042d9f22e1601e9846ebd2f7bf

csit/prepare-csit.sh

index 739266b..c40f4c1 100755 (executable)
@@ -33,14 +33,14 @@ TESTPLANDIR=${WORKSPACE}/${TESTPLAN}
 if [ -f ${WORKSPACE}/env.properties ]; then
     source ${WORKSPACE}/env.properties
 fi
-#if [ -f ${ROBOT_VENV}/bin/activate ]; then
-   source ${ROBOT_VENV}/bin/activate
-#else
+if [ -f ${ROBOT_VENV}/bin/activate ]; then
+   source ${ROBOT_VENV}/bin/activate
+else
     rm -rf /tmp/ci-management
     rm -f ${WORKSPACE}/env.properties
     cd /tmp
     source ${WORKSPACE}/install-robotframework.sh
-#fi
+fi
 
 # install eteutils
 mkdir -p ${ROBOT_VENV}/src/onap