The script to install the robot framework for CSITs was not called due
to an incorrect path in its invocation. This commit ensures it is
called.
This bug has been in the CSIT scripts for a numebr of releases. It only
seems to have become an issue in the last few hours.
Issue-ID: POLICY-4338
Change-Id: I0c2c578b784732a4f2beed514512f8e8c558f726
Signed-off-by: liamfallon <liam.fallon@est.tech>
# ============LICENSE_END=====================================================
#
-ROBOT_VENV=$(mktemp -d --suffix=robot_venv)
+ROBOT_VENV=$(mktemp -d)
echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties"
echo "Python version is: $(python3 --version)"
python3 -m pip install --upgrade pip
echo "Installing Python Requirements"
-python3 -m pip install -r pylibs.txt
+python3 -m pip install -r ${SCRIPTS}/pylibs.txt
python3 -m pip freeze
if [ -f "${ROBOT_VENV}"/bin/activate ]; then
source "${ROBOT_VENV}"/bin/activate
else
- source ./include-raw-integration-install-robotframework.sh
+ source ${SCRIPTS}/include-raw-integration-install-robotframework.sh
fi