Commit 5d69b46f authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

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

parent 5f10b706
...@@ -79,6 +79,7 @@ exec docker run \ ...@@ -79,6 +79,7 @@ exec docker run \
-ceux "\ -ceux "\
make clean all && \ make clean all && \
trap 'timeout 5m ./cluster/kube-down.sh' EXIT && \ trap 'timeout 5m ./cluster/kube-down.sh' EXIT && \
./cluster/kube-down.sh && \
./cluster/kube-up.sh && \ ./cluster/kube-up.sh && \
trap 'test \$? != 0 && export MESOS_DOCKER_DUMP_LOGS=true; timeout 5m ./cluster/kube-down.sh' EXIT && \ trap 'test \$? != 0 && export MESOS_DOCKER_DUMP_LOGS=true; timeout 5m ./cluster/kube-down.sh' EXIT && \
${RUN_CMD} ${RUN_CMD}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment