contrib/mesos/ci: call kube-down.sh first to stop dangling containers

This commit is contained in:
Dr. Stefan Schimanski 2015-11-27 12:31:18 +01:00
parent 5f10b70652
commit 5d69b46fc3

View File

@ -79,6 +79,7 @@ exec docker run \
-ceux "\
make clean all && \
trap 'timeout 5m ./cluster/kube-down.sh' EXIT && \
./cluster/kube-down.sh && \
./cluster/kube-up.sh && \
trap 'test \$? != 0 && export MESOS_DOCKER_DUMP_LOGS=true; timeout 5m ./cluster/kube-down.sh' EXIT && \
${RUN_CMD}