This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new a9812d79c [#4472 ] fix(CI pipeline): Fixed Doris test failure as a
result of excessive disk usage (#4468)
a9812d79c is described below
commit a9812d79cd0281ee47e6e8f57bcc82ea8c39e4c7
Author: Qi Yu <[email protected]>
AuthorDate: Mon Aug 12 13:19:02 2024 +0800
[#4472 ] fix(CI pipeline): Fixed Doris test failure as a result of
excessive disk usage (#4468)
### What changes were proposed in this pull request?
Remove unnecessary files such as Android and Haskell.
### Why are the changes needed?
To free more space to reduce test failure rate.

Fix: #4472
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
Locally and CI.
---
dev/ci/util_free_space.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/ci/util_free_space.sh b/dev/ci/util_free_space.sh
index c7ab15b64..51fb3459b 100755
--- a/dev/ci/util_free_space.sh
+++ b/dev/ci/util_free_space.sh
@@ -49,6 +49,10 @@ if [ "${GITHUB_ACTIONS}" = "true" ]; then
sudo rm -rf /opt/hostedtoolcache/PyPy || :
# 376MB
sudo rm -rf /opt/hostedtoolcache/node || :
+ # Free at least 10G, android is useless for Gravitino CI.
+ sudo rm -rf /usr/local/lib/android || :
+ # Free at lease 5G, .ghcup is installed by Haskell CI and useless for
Gravitino CI.
+ sudo rm -rf /usr/local/.ghcup || :
# Remove Web browser packages
if dpkg-query -l firefox;then
sudo apt purge -y firefox