diff options
author | 2019-06-25 13:35:34 +0200 | |
---|---|---|
committer | 2019-06-25 17:59:15 +0200 | |
commit | c6f576de85d0697eb5e74ba32a9d2ce83cc63f7c (patch) | |
tree | 7be87be377290142ebeea1b4308de694272850d5 /docker/healthcheck | |
parent | 611e723a5e35d92582eed30613067d765175d865 (diff) |
Keep kubernetes sources
It now only removes .git and _output
Else they are missing files when dumping the logs in case of failures
[1].
[1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-iruya-k8s_conformance-run/107/console
Change-Id: Ia8b45b8af48bc0005e75a174258e27f1f3edcaac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 8af877189e0c276a15717cf7dd9a0fe873214521)
Diffstat (limited to 'docker/healthcheck')
-rw-r--r-- | docker/healthcheck/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile index be05fd5f..2e8ab9e6 100644 --- a/docker/healthcheck/Dockerfile +++ b/docker/healthcheck/Dockerfile @@ -14,7 +14,7 @@ RUN apk --no-cache add --update make py-pip bash git \ make kubectl ginkgo && \ make WHAT=test/e2e/e2e.test && \ mv _output/bin/* /usr/local/bin) && \ - rm -r /src/k8s.io && \ + rm -r /src/k8s.io/kubernetes/.git /src/k8s.io/kubernetes/_output && \ apk del .build-deps COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] |