aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormorganrol <morgan.richomme@orange.com>2021-02-09 08:43:08 +0100
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-02-09 10:15:10 +0000
commit255e735d3adfe8950f72221dc87cad0bdfc67ddb (patch)
tree3953b50400a8240b38dd9ba0063610c4e6055c5d
parentf1598853ba48d609e8b442e3113000830fe37cb7 (diff)
[INT] Fix xtesting docker build crypto issue
Set the env file CRYPTOGRAPHY_DONT_BUILD_RUST=1 Issue-ID: INT-1852 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I84ccbbacd5ba024c00a7149a8b4a5e927011ab9f (cherry picked from commit 4afbdf359259099637cb720998d7361957badf9d) Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
-rw-r--r--healthcheck/docker/Dockerfile3
-rw-r--r--infra-healthcheck/docker/Dockerfile2
-rw-r--r--smoke-usecases-pythonsdk/docker/Dockerfile5
-rw-r--r--smoke-usecases-robot/docker/Dockerfile1
4 files changed, 8 insertions, 3 deletions
diff --git a/healthcheck/docker/Dockerfile b/healthcheck/docker/Dockerfile
index bcaf378..9fbef70 100644
--- a/healthcheck/docker/Dockerfile
+++ b/healthcheck/docker/Dockerfile
@@ -3,10 +3,11 @@ FROM opnfv/xtesting:jerma
ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
ARG ONAP_TAG=master
-ARG PIP_TAG=19.3.1
+ARG PIP_TAG=20.1
ENV PYTHONPATH $PYTHONPATH:/src/testing-utils/robotframework-onap/eteutils
ENV TAG all
+ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
COPY requirements.txt requirements.txt
RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
diff --git a/infra-healthcheck/docker/Dockerfile b/infra-healthcheck/docker/Dockerfile
index f84f976..3e7e154 100644
--- a/infra-healthcheck/docker/Dockerfile
+++ b/infra-healthcheck/docker/Dockerfile
@@ -5,6 +5,8 @@ ARG HELM_VERSION="v2.16.6"
ARG ONAP_TESTS_TAG=master
ARG ONAP_TAG=master
+ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
+
# Install kubectl
# Note: Latest version may be found on:
# https://aur.archlinux.org/packages/kubectl-bin/
diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile
index 0322774..8e01e03 100644
--- a/smoke-usecases-pythonsdk/docker/Dockerfile
+++ b/smoke-usecases-pythonsdk/docker/Dockerfile
@@ -3,13 +3,14 @@ FROM opnfv/xtesting
MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
ARG ONAP_TESTS_TAG=master
+ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN apk add --no-cache python3 git && \
apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
gcc openssl-dev linux-headers musl-dev && \
pip3 install --upgrade pip && \
- pip3 install --no-cache-dir \
- git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG && \
+ pip3 install --editable \
+ git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG#egg=onaptests && \
apk del .build-deps
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
diff --git a/smoke-usecases-robot/docker/Dockerfile b/smoke-usecases-robot/docker/Dockerfile
index 5a614c0..5ac4989 100644
--- a/smoke-usecases-robot/docker/Dockerfile
+++ b/smoke-usecases-robot/docker/Dockerfile
@@ -9,6 +9,7 @@ ARG PIP_TAG=20.1
ARG KUBERNETES_VERSION="v1.15.11"
ENV TAG all
+ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
# Install kubectl
# Note: Latest version may be found on: