Skip to content

Commit b83d701

Browse files
zhengruifengdongjoon-hyun
authored andcommitted
[SPARK-53836][INFRA] Update script free_disk_space_container
### What changes were proposed in this pull request? Remove more unused packages ### Why are the changes needed? to free more disk for testing before: ``` Filesystem Size Used Avail Use% Mounted on overlay 72G 51G 22G 71% / tmpfs 64M 0 64M 0% /dev shm 64M 0 64M 0% /dev/shm /dev/root 72G 51G 22G 71% /__w tmpfs 3.2G 1.2M 3.2G 1% /run/docker.sock tmpfs 7.9G 0 7.9G 0% /proc/acpi tmpfs 7.9G 0 7.9G 0% /proc/scsi tmpfs 7.9G 0 7.9G 0% /sys/firmware ``` after: ``` Filesystem Size Used Avail Use% Mounted on overlay 72G 49G 24G 68% / tmpfs 64M 0 64M 0% /dev shm 64M 0 64M 0% /dev/shm /dev/root 72G 49G 24G 68% /__w tmpfs 3.2G 1.2M 3.2G 1% /run/docker.sock tmpfs 7.9G 0 7.9G 0% /proc/acpi tmpfs 7.9G 0 7.9G 0% /proc/scsi tmpfs 7.9G 0 7.9G 0% /sys/firmware ``` ### Does this PR introduce _any_ user-facing change? no, infra-only ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #52545 from zhengruifeng/more_clean_disk_container. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 3b51e19 commit b83d701

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev/free_disk_space_container

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
# limitations under the License.
1818
#
1919

20+
set -ex
21+
2022
echo "=================================="
2123
echo "Free up disk space on CI system"
2224
echo "=================================="
@@ -30,5 +32,9 @@ echo "Removing large packages"
3032
rm -rf /__t/CodeQL
3133
rm -rf /__t/go
3234
rm -rf /__t/node
35+
rm -rf /__t/PyPy
36+
rm -rf /__t/Python
37+
rm -rf /__t/Ruby
38+
du -sh /__t/*
3339

3440
df -h

0 commit comments

Comments
 (0)