aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/scripts/reclaim_disk_space.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/scripts/reclaim_disk_space.sh')
-rwxr-xr-x.github/workflows/scripts/reclaim_disk_space.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/.github/workflows/scripts/reclaim_disk_space.sh b/.github/workflows/scripts/reclaim_disk_space.sh
deleted file mode 100755
index ed23ce31d..000000000
--- a/.github/workflows/scripts/reclaim_disk_space.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-# remove 4GiB of images
-sudo systemd-run docker system prune --force --all --volumes
-
-# remove unused software
-sudo systemd-run --wait rm -rf \
- "$AGENT_TOOLSDIRECTORY" \
- /opt/* \
- /usr/local/* \
- /usr/share/az* \
- /usr/share/dotnet \
- /usr/share/gradle* \
- /usr/share/miniconda \
- /usr/share/swift \
- /var/lib/gems \
- /var/lib/mysql \
- /var/lib/snapd
-
-# trim the cleaned space
-sudo fstrim /