diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-09-20 14:07:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-20 14:07:30 +0000 |
commit | e896016a3bde25d1a83e7bc368dbf267f1b1ac57 (patch) | |
tree | 9ab406987810d16e9769cf683ae3f946219e0b27 /csit/install-robotframework.sh | |
parent | 73001f6a64b3548a9584acc8c4bfe3a7806917e7 (diff) | |
parent | 056cc862bf9c65b559107fee42597364f92dccbb (diff) |
Merge "Remove dependency on ci-management for robot framework configuration"
Diffstat (limited to 'csit/install-robotframework.sh')
-rw-r--r-- | csit/install-robotframework.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/csit/install-robotframework.sh b/csit/install-robotframework.sh new file mode 100644 index 0000000000..dada62215f --- /dev/null +++ b/csit/install-robotframework.sh @@ -0,0 +1,16 @@ +ROBOT_VENV=$(mktemp -d --suffix=robot_venv) +echo "ROBOT_VENV=${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" + +echo "Python version is: $(python3 --version)" + +python3 -m venv "${ROBOT_VENV}" +source "${ROBOT_VENV}/bin/activate" + +set -exu + +# Make sure pip3 itself us up-to-date. +python3 -m pip install --upgrade pip + +echo "Installing Python Requirements" +python3 -m pip install -r ${WORKSPACE}/pylibs.txt +python3 -m pip freeze |