From 846d7e0b222cfbb888788b8e259555377bf3956d Mon Sep 17 00:00:00 2001 From: Keith Pitt Date: Fri, 13 Feb 2015 16:55:36 +0800 Subject: [PATCH] Added headers for the docker cleanup tasks. --- templates/bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/bootstrap.sh b/templates/bootstrap.sh index 773eb49c76..d2a5f3161a 100755 --- a/templates/bootstrap.sh +++ b/templates/bootstrap.sh @@ -250,6 +250,7 @@ else DOCKER_IMAGE="buildkite_"$BUILDKITE_JOB_ID"_image" function docker-cleanup { + echo "--- Cleaning up Docker containers" buildkite-run "docker rm -f -v $DOCKER_CONTAINER" # Enabling the following line will prevent your build server from filling up, @@ -279,6 +280,7 @@ else FIG_CONTAINER_NAME=$FIG_PROJ_NAME"_"$BUILDKITE_FIG_CONTAINER function fig-cleanup { + echo "--- Cleaning up Fig Docker containers" buildkite-run "fig -p $FIG_PROJ_NAME kill" buildkite-run "fig -p $FIG_PROJ_NAME rm --force -v"