aboutsummaryrefslogtreecommitdiffstats
path: root/smoke-usecases-robot/docker
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-04 12:34:19 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-04 13:00:19 +0000
commitab52f4145fbd777afcf21490324124ec5b5f7535 (patch)
tree2f352d0e3fa1669266290d0465b645b36cfc9043 /smoke-usecases-robot/docker
parented06c4320b1af457fe0c73c5501e6bc760fdffb4 (diff)
[ROBOT] Use upper constraints
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
Diffstat (limited to 'smoke-usecases-robot/docker')
-rw-r--r--smoke-usecases-robot/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/smoke-usecases-robot/docker/Dockerfile b/smoke-usecases-robot/docker/Dockerfile
index 0c6855a..23071d9 100644
--- a/smoke-usecases-robot/docker/Dockerfile
+++ b/smoke-usecases-robot/docker/Dockerfile
@@ -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/ && \