This is an automated email from the ASF dual-hosted git repository.

okumin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a48853e946 HIVE-29335: Disk-full error on Docker Build (#6209)
1a48853e946 is described below

commit 1a48853e946ad1c9219a34835d3fe917eba1a756
Author: Shohei Okumiya <[email protected]>
AuthorDate: Mon Nov 24 10:33:05 2025 +0900

    HIVE-29335: Disk-full error on Docker Build (#6209)
---
 .github/workflows/docker-GA-images.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.github/workflows/docker-GA-images.yml 
b/.github/workflows/docker-GA-images.yml
index c14f1d80828..cd1b2fc0d0e 100644
--- a/.github/workflows/docker-GA-images.yml
+++ b/.github/workflows/docker-GA-images.yml
@@ -43,6 +43,21 @@ jobs:
     if: github.event_name == 'workflow_dispatch' || github.event_name == 
'create' && github.event.ref_type == 'tag' && startsWith(github.event.ref, 
'rel/')
     runs-on: ubuntu-latest
     steps:
+      - name: Free disk space
+        run: |
+          echo '===== Before ====='
+          df -h
+          sudo rm -rf /opt/hostedtoolcache/go
+          sudo rm -rf /opt/hostedtoolcache/CodeQL
+          sudo rm -rf /usr/lib/google-cloud-sdk
+          sudo rm -rf /usr/local/julia*
+          sudo rm -rf /usr/local/.ghcup
+          sudo rm -rf /usr/share/swift
+          sudo rm -rf /usr/share/dotnet
+          sudo apt-get clean
+          echo '===== After ====='
+          df -h
+
       - name: Checkout
         uses: actions/checkout@v3
 
@@ -123,3 +138,9 @@ jobs:
             HIVE_VERSION=${{ env.HIVE_VERSION }}
             HADOOP_VERSION=${{ env.HADOOP_VERSION }}
             BUILD_ENV=${{ env.BUILD_ENV }}
+
+      - name: Dump disk usage on failure
+        if: failure()
+        run: |
+          df -h
+          du -xh / --max-depth=3 2>/dev/null | sort -h | tail -50

Reply via email to