This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new 867bcd822 [#4472 ] fix(CI pipeline): Fixed Doris test failure as a
result of excessive disk usage (#4481)
867bcd822 is described below
commit 867bcd822abb2510c8484a562d33eda891bedd98
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 12 14:09:06 2024 +0800
[#4472 ] fix(CI pipeline): Fixed Doris test failure as a result of
excessive disk usage (#4481)
### 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.
Co-authored-by: Qi Yu <[email protected]>
---
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