You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2023/04/14 12:59:45 UTC

[arrow] branch main updated: GH-35066: [CI][Packaging][Linux] Free more disk space (#35128)

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 <ko...@clear-code.com>
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 <ko...@clear-code.com>
    Signed-off-by: Raúl Cumplido <ra...@gmail.com>
---
 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: |