diff options
author | Matthew Watkins <mwatkins@linuxfoundation.org> | 2022-11-24 09:22:55 +0000 |
---|---|---|
committer | Matthew Watkins <mwatkins@linuxfoundation.org> | 2022-11-24 09:27:40 +0000 |
commit | 94d77dd3430bf504b1fe1209760cfeedb47752a7 (patch) | |
tree | 81fb0b5ef87ee561dffeb406a1fce4121d15a5d6 | |
parent | fdaccbf398d84b7b19a95e11c017b5c6d2019ffe (diff) |
Fix: Update python environment to ROBOT3_VENV
Issue-ID: RELENG-4523
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Id5ea08481bdf14cce149f047d7cd5b8d8254d200
-rw-r--r-- | csit/install-robotframework.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/csit/install-robotframework.sh b/csit/install-robotframework.sh index dada62215f..54dbce400a 100644 --- a/csit/install-robotframework.sh +++ b/csit/install-robotframework.sh @@ -1,12 +1,13 @@ -ROBOT_VENV=$(mktemp -d --suffix=robot_venv) -echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" +set -exu + +ROBOT3_VENV=$(mktemp -d --suffix=robot_venv) +echo "ROBOT3_VENV=${ROBOT3_VENV}" >> "${WORKSPACE}/env.properties" echo "Python version is: $(python3 --version)" -python3 -m venv "${ROBOT_VENV}" -source "${ROBOT_VENV}/bin/activate" +python3 -m venv "${ROBOT3_VENV}" +source "${ROBOT3_VENV}/bin/activate" -set -exu # Make sure pip3 itself us up-to-date. python3 -m pip install --upgrade pip |