[ROBOT] Use upper constraints during pytehon-testing-utils installation 06/131406/3
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Mon, 10 Oct 2022 06:48:23 +0000 (06:48 +0000)
committerFiachra Corcoran <fiachra.corcoran@est.tech>
Mon, 10 Oct 2022 11:30:46 +0000 (11:30 +0000)
Installing the newest version of importlib_metadata breaks robot tests
execution.
Use the same upper constraints as in robot smoke tests for healtchecks
and benchmark docker images

Issue-ID: INT-2160
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I71700221c344162da76b51cec7cd59e67c8a1eee

healthcheck/docker/Dockerfile

index 80d64ad..6229f7f 100644 (file)
@@ -17,8 +17,9 @@ RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
         openssl-dev libjpeg-turbo-dev && \
     pip3 install --upgrade pip && \
     pip3 install --no-cache-dir \
-    git+https://git.onap.org/testsuite/heatbridge.git@$ONAP_TAG#egg=heatbridge\&subdirectory=heatbridge  \
-    git+https://git.onap.org/testsuite/python-testing-utils.git@$ONAP_TAG#egg=robotframework-onap\&subdirectory=robotframework-onap && \
+        -cupper-constraints.txt \
+        git+https://git.onap.org/testsuite/heatbridge.git@$ONAP_TAG#egg=heatbridge\&subdirectory=heatbridge  \
+        git+https://git.onap.org/testsuite/python-testing-utils.git@$ONAP_TAG#egg=robotframework-onap\&subdirectory=robotframework-onap && \
     git clone --depth 1 https://git.onap.org/testsuite -b $ONAP_TAG /var/opt/ONAP && \
     git clone --depth 1 https://git.onap.org/demo -b $ONAP_TAG /src/demo && \
     pip install \