diff options
Diffstat (limited to 'infra-healthcheck/docker')
-rw-r--r-- | infra-healthcheck/docker/Dockerfile | 10 | ||||
-rw-r--r-- | infra-healthcheck/docker/testcases.yaml | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/infra-healthcheck/docker/Dockerfile b/infra-healthcheck/docker/Dockerfile index 9cab01d..24fa61d 100644 --- a/infra-healthcheck/docker/Dockerfile +++ b/infra-healthcheck/docker/Dockerfile @@ -14,8 +14,7 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1 ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl -# COPY upper-constraints.txt . -COPY . . +COPY upper-constraints.txt . RUN set -x && \ apk --no-cache add --update curl ca-certificates && \ @@ -30,12 +29,11 @@ RUN set -x && \ chmod +x /usr/local/bin/helm3 && \ rm -rf /usr/lib/python3.8/site-packages/PyYAML* && \ pip3 install --upgrade pip && \ - pip3 install --no-cache-dir -r requirements.txt -c upper-constraints.txt && \ - pip3 install --no-cache-dir -e . && \ + pip3 install --no-cache-dir -r upper-constraints.txt && \ + pip3 install --no-cache-dir \ + git+https://git.onap.org/integration/xtesting.git@$ONAP_TESTS_TAG#subdirectory=infra-healthcheck && \ pip3 install --no-cache-dir \ git+https://git.onap.org/integration.git@$ONAP_TESTS_TAG#subdirectory=test/security/check_certificates && \ - pip3 install --ignore-installed --no-cache-dir \ - git+https://git.onap.org/testsuite/pythonsdk-tests.git@$ONAP_TESTS_TAG && \ apk del .build-deps COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml diff --git a/infra-healthcheck/docker/testcases.yaml b/infra-healthcheck/docker/testcases.yaml index 287b64e..0cd8fe8 100644 --- a/infra-healthcheck/docker/testcases.yaml +++ b/infra-healthcheck/docker/testcases.yaml @@ -16,7 +16,7 @@ tiers: This test case verifies that the ONAP pods are all Running and shows the pods, deployments, svc and events run: - name: 'namespace_status' + name: 'onap_k8s' - case_name: onap-helm project_name: integration |