[ROBOT] Use upper constraints 66/131366/2
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 4 Oct 2022 12:34:19 +0000 (12:34 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 4 Oct 2022 13:00:19 +0000 (13:00 +0000)
Installing the newest version of importlib_metadata breaks robot tests execution

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

smoke-usecases-robot/docker/Dockerfile
smoke-usecases-robot/upper-constraints.txt [new file with mode: 0644]

index 0c6855a..23071d9 100644 (file)
@@ -20,6 +20,7 @@ ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSI
 ADD https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 get_helm.sh
 
 COPY requirements.txt requirements.txt
+COPY upper-constraints.txt upper-constraints.txt
 RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
     apk --no-cache add --virtual .build-deps --update \
         python3-dev build-base linux-headers libffi-dev \
@@ -36,6 +37,7 @@ RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
         pip==$PIP_TAG && \
     pip install \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
+        -cupper-constraints.txt \
         -rrequirements.txt && \
     mkdir -p /var/opt/ONAP/demo/heat && cp -Rf /src/demo/heat/vFW /var/opt/ONAP/demo/heat/ && \
     mkdir -p /var/opt/ONAP/demo/tosca && cp -Rf /src/demo/tosca/pNF /var/opt/ONAP/demo/tosca/ && \
diff --git a/smoke-usecases-robot/upper-constraints.txt b/smoke-usecases-robot/upper-constraints.txt
new file mode 100644 (file)
index 0000000..f72abaa
--- /dev/null
@@ -0,0 +1 @@
+importlib_metadata==4.12.0
\ No newline at end of file