This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 59fe4ce90e GH-35066: [CI][Packaging][Linux] Free more disk space
(#35128)
59fe4ce90e is described below
commit 59fe4ce90e2f5de50a62656551219d1e2c968126
Author: Sutou Kouhei <[email protected]>
AuthorDate: Fri Apr 14 21:59:38 2023 +0900
GH-35066: [CI][Packaging][Linux] Free more disk space (#35128)
### Rationale for this change
We don't have enough disk space to build ubuntu-jammy-amd64 and
ubuntu-kinetic-amd64.
### What changes are included in this PR?
This just removes unused built-in files. This is just a workaround.
Reducing build-time disk usage is a real fix. For example, we may be able to
reduce binary size of our libraries.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #35066
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
dev/tasks/linux-packages/github.linux.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev/tasks/linux-packages/github.linux.yml
b/dev/tasks/linux-packages/github.linux.yml
index 75dd0ec785..d055c439cd 100644
--- a/dev/tasks/linux-packages/github.linux.yml
+++ b/dev/tasks/linux-packages/github.linux.yml
@@ -38,10 +38,15 @@ jobs:
env.ARCHITECTURE == 'amd64'
run: |
df -h
+ du -hsc /opt/hostedtoolcache/*
# 5.3GB
sudo rm -rf /opt/hostedtoolcache/CodeQL || :
# 1.4GB
sudo rm -rf /opt/hostedtoolcache/go || :
+ # 489MB
+ sudo rm -rf /opt/hostedtoolcache/PyPy || :
+ # 376MB
+ sudo rm -rf /opt/hostedtoolcache/node || :
df -h
- name: Set up Ruby
run: |