aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarking
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-07 11:52:55 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-07 12:56:36 +0000
commit0deca819997406ad73edbb82039c301381dc8074 (patch)
tree6566f78473f26a95186421ea25c53dcd4e6b5af8 /benchmarking
parentab52f4145fbd777afcf21490324124ec5b5f7535 (diff)
[ROBOT] Use upper constraints
Installing the newest version of importlib_metadata breaks robot tests execution Use the same upper constraints as in robot smoke tests for healtcheck and benchmark docker images Issue-ID: INT-2160 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I997c7ff47d5439cf2a96e1c67aa3ac4917d57110
Diffstat (limited to 'benchmarking')
-rw-r--r--benchmarking/docker/Dockerfile2
-rw-r--r--benchmarking/upper-constraints.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/benchmarking/docker/Dockerfile b/benchmarking/docker/Dockerfile
index 2e5f653..38108cd 100644
--- a/benchmarking/docker/Dockerfile
+++ b/benchmarking/docker/Dockerfile
@@ -8,6 +8,7 @@ ENV PYTHONPATH $PYTHONPATH:/src/testing-utils/robotframework-onap/eteutils
ENV TAG all
COPY requirements.txt requirements.txt
+COPY upper-constraints.txt upper-constraints.txt
RUN apk --no-cache add --virtual .build-deps --update \
python3-dev build-base linux-headers libffi-dev \
openssl-dev libjpeg-turbo-dev && \
@@ -19,6 +20,7 @@ RUN apk --no-cache add --virtual .build-deps --update \
pip==$PIP_TAG && \
pip3 install \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
+ -cupper-constraints.txt \
-rrequirements.txt \
-e /src/testing-utils/robotframework-onap && \
mkdir -p /var/opt/ONAP/demo/heat && cp -Rf /src/demo/heat/vFW /var/opt/ONAP/demo/heat/ && \
diff --git a/benchmarking/upper-constraints.txt b/benchmarking/upper-constraints.txt
new file mode 100644
index 0000000..f72abaa
--- /dev/null
+++ b/benchmarking/upper-constraints.txt
@@ -0,0 +1 @@
+importlib_metadata==4.12.0 \ No newline at end of file