[INT] Add missing libraries for robot tests 88/140288/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 24 Feb 2025 13:22:36 +0000 (14:22 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 24 Feb 2025 13:48:31 +0000 (14:48 +0100)
- added robotframework libraries (SSHLibrary, JSONLibrary)
- added ONAPLibrary from testsuite/python-testing-utils

Issue-ID: INT-2294

Change-Id: I0d4c9e9b795b5dbddf19ee89e7a46107f80cae34
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
smoke-usecases-robot-py3/docker/Dockerfile
smoke-usecases-robot-py3/requirements.txt

index df8b8d1..5ac6925 100644 (file)
@@ -11,6 +11,9 @@ ARG KUBERNETES_VERSION="v1.19.9"
 ENV TAG all
 ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
 
+ARG PYTHON_UTILS_REPO=git.onap.org/testsuite/python-testing-utils.git
+ARG PYTHON_UTILS_TAG=master
+
 # Install kubectl
 # Note: Latest version may be found on:
 # https://aur.archlinux.org/packages/kubectl-bin/
@@ -33,6 +36,7 @@ RUN pip install \
     rm -r requirements.txt && \
     cd / && ln -s /var/opt/ONAP/robot/ /robot && \
     apk del .build-deps
+RUN pip install --no-cache-dir git+https://$PYTHON_UTILS_REPO@$PYTHON_UTILS_TAG#egg=robotframework-onap\&subdirectory=robotframework-onap
 
 COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
 COPY scripts/cmd.sh /
index 49d7511..2e3daf1 100644 (file)
@@ -1,2 +1,4 @@
 robotframework==3.1.1
 robotframework-requests>=0.8
+robotframework-jsonlibrary
+robotframework-sshlibrary