From bab9ae2ce73a548527060c0c3aeb96c8c3988f93 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 21 Apr 2021 01:41:00 -0500 Subject: [PATCH] ci: Cleanup files on exit Remove files to cleanup disk space so if the machine gets re-used we aren't wasting disk space. This can happen when different build types (zephyr, bluetooth, and daily) all happen on the same machine. Signed-off-by: Kumar Gala --- .buildkite/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/run.sh b/.buildkite/run.sh index 2069d5ec67a..29f3445b8fa 100755 --- a/.buildkite/run.sh +++ b/.buildkite/run.sh @@ -24,6 +24,9 @@ function cleanup() echo "--- ccache stats at finish" ccache -s + # Cleanup on exit + rm -fr * + # disk usage echo "--- disk usage at finish" df -h