panbingkun commented on code in PR #45630:
URL: https://github.com/apache/spark/pull/45630#discussion_r1534906837
##########
dev/free_disk_space_container:
##########
@@ -21,13 +21,24 @@ echo "=================================="
echo "Free up disk space on CI system"
echo "=================================="
-echo "Listing 100 largest packages"
-dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
+echo "Listing top 100 largest packages (from large to small)"
+printf "Installed-Size\tPackage\n"
+dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n -r | head -n 100
df -h
echo "Removing large packages"
rm -rf /__t/CodeQL
rm -rf /__t/go
rm -rf /__t/node
+apt-get remove --purge -y '^aspnet.*'
Review Comment:
Done, but the title is `too long` and it's not easy to summarize it into one
simple sentence, 😄
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]