Skip to content

Commit

Permalink
contrib/mesos/ci: call kube-down.sh first to stop dangling containers
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Nov 27, 2015
1 parent 5f10b70 commit 5d69b46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/mesos/ci/run-with-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5d69b46

Please sign in to comment.