aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-06-25 13:35:34 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-06-25 13:58:36 +0200
commit8af877189e0c276a15717cf7dd9a0fe873214521 (patch)
tree203814a5c3f12874af99e00e9b55ea0b2d991e6e /docker/healthcheck/Dockerfile
parent11669ed5216c94f3420969aa5b31e0687af33f18 (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>
Diffstat (limited to 'docker/healthcheck/Dockerfile')
-rw-r--r--docker/healthcheck/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index 1ee82be4..dcbfbed8 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -14,7 +14,7 @@ RUN apk --no-cache add --update make 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/python3.6/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]