diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 5e9349ac39..671f0a8661 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -17,8 +17,8 @@ export PS4="++" if [[ -d $d ]]; then du -hs "$d" - read -r cacheSizeInGB _ < <(du -s --block-size=1000000000 "$d") - if [[ $cacheSizeInGB -gt 10 ]]; then + read -r cacheSizeInGB _ < <(du -s --block-size=1800000000 "$d") + if [[ $cacheSizeInGB -gt 18 ]]; then echo "$d has gotten too large, removing it" rm -rf "$d" fi