diff options
author | 2020-04-20 14:50:27 +0200 | |
---|---|---|
committer | 2020-04-20 14:50:27 +0200 | |
commit | 5de622a8247c4cf4fc2bd4e5f8a947e60a8c4bfb (patch) | |
tree | 2038bfaa94413367fd46e8bcd38600f2e49dac05 /infra-healthcheck/docker/Dockerfile | |
parent | 3c64be99c3c24930674e9fa657993d95cbd2fe6d (diff) |
Resync integration/xtesting repo
Issue-ID: INT-1366
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I3af9c4697f0e67d3ce5b6d2fceeb978aeb20a0ff
Diffstat (limited to 'infra-healthcheck/docker/Dockerfile')
-rw-r--r-- | infra-healthcheck/docker/Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/infra-healthcheck/docker/Dockerfile b/infra-healthcheck/docker/Dockerfile index 849268c..07b417b 100644 --- a/infra-healthcheck/docker/Dockerfile +++ b/infra-healthcheck/docker/Dockerfile @@ -3,6 +3,7 @@ FROM opnfv/xtesting ARG KUBERNETES_VERSION="v1.15.2" ARG HELM_VERSION="v2.14.1" ARG ONAP_TESTS_TAG=master +ARG ONAP_TAG=master # Install kubectl # Note: Latest version may be found on: @@ -10,8 +11,8 @@ ARG ONAP_TESTS_TAG=master ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl -COPY scripts/check_onap_k8s.sh /check_onap_k8s.sh COPY scripts/check_onap_helm.sh /check_onap_helm.sh +COPY upper-constraints.txt . RUN set -x && \ apk --no-cache add --update curl ca-certificates && \ @@ -20,12 +21,16 @@ RUN set -x && \ chmod +x /usr/local/bin/kubectl && \ adduser kubectl -Du 2342 -h /config && \ wget https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \ + wget -O /check_for_ingress_and_nodeports.py https://git.onap.org/integration/plain/test/security/check_for_ingress_and_nodeports.py?h=$ONAP_TAG &&\ chmod +x /usr/local/bin/helm && \ chmod +x /check_onap_*.sh && \ pip3 install --upgrade pip && \ + pip3 install --no-cache-dir -r upper-constraints.txt && \ pip3 install --no-cache-dir \ git+https://gitlab.com/Orange-OpenSource/lfn/onap/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=infra-healthcheck && \ apk del .build-deps COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml +COPY docker/logging.ini /usr/lib/python3.8/site-packages/xtesting/ci/logging.ini +COPY docker/logging.debug.ini /usr/lib/python3.8/site-packages/xtesting/ci/logging.debug.ini CMD ["run_tests", "-t", "all"] |