We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6998c9 commit ed61e72Copy full SHA for ed61e72
packer/linux/conf/bin/bk-check-disk-space.sh
@@ -16,7 +16,7 @@ if [[ $disk_avail -lt $DISK_MIN_AVAILABLE ]]; then
16
disk_avail_human=$(numfmt --to=iec-i --suffix=B --from-unit=1024 "${disk_avail}")
17
echo "Not enough disk space free: ${disk_avail_human} (${disk_avail}KB) available, cutoff is ${disk_min_human} (${DISK_MIN_AVAILABLE}KB) 🚨" >&2
18
19
- # Last resort to clear space with build directory cleanup (if enabled)
+ # Last resort for clearing space with build directory cleanup (if enabled)
20
if [[ "${BUILDKITE_PURGE_BUILDS_ON_DISK_FULL:-false}" == "true" ]]; then
21
echo "Purging all build directories to reclaim disk space..."
22
rm -rf "${BUILDKITE_AGENT_BUILD_PATH:-/var/lib/buildkite-agent/builds}"/*
0 commit comments