diff options
author | 2023-05-11 14:32:52 +0000 | |
---|---|---|
committer | 2023-05-25 20:22:46 +0000 | |
commit | e9d76d6a00131ee0b1e445074f19a30ab0a330e4 (patch) | |
tree | 69fe7c9011d6f071874a8759d273d2500a67ee7c /infra-healthcheck/docker/Dockerfile | |
parent | c4294c4d2e564083382f4b9fe1e73c74c8252c70 (diff) |
[INFRA] Add integration script to run onap-k8s test
Next to Orange use ONAP script to run that test
Refactor docker image build to not clone that repo
Issue-ID: INT-2226
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: If321945c3ce3bca0f66256ba2d05243759817493
Diffstat (limited to 'infra-healthcheck/docker/Dockerfile')
-rw-r--r-- | infra-healthcheck/docker/Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/infra-healthcheck/docker/Dockerfile b/infra-healthcheck/docker/Dockerfile index 24fa61d..9cab01d 100644 --- a/infra-healthcheck/docker/Dockerfile +++ b/infra-healthcheck/docker/Dockerfile @@ -14,7 +14,8 @@ 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 upper-constraints.txt . +COPY . . RUN set -x && \ apk --no-cache add --update curl ca-certificates && \ @@ -29,11 +30,12 @@ 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 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 -r requirements.txt -c upper-constraints.txt && \ + pip3 install --no-cache-dir -e . && \ 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 |