From d3cd07663f6f37c8f8b0270a409ad383a7dd70ea Mon Sep 17 00:00:00 2001 From: Oleks V Date: Sat, 18 Oct 2025 03:43:24 -0700 Subject: [PATCH] [branch-50] chore: Fix `no space left on device` (#18141) ## Which issue does this PR close? - Closes #18135 ## Rationale for this change ## What changes are included in this PR? ## Are these changes tested? ## Are there any user-facing changes? --------- Co-authored-by: Andrew Lamb --- .github/workflows/rust.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 09be2f2ad9e4a..133d287f18197 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -353,6 +353,19 @@ jobs: with: save-if: ${{ github.ref_name == 'main' }} shared-key: "amd-ci-linux-test-example" + - name: Remove unnecessary preinstalled software + run: | + echo "Disk space before cleanup:" + df -h + apt-get clean + rm -rf /__t/CodeQL + rm -rf /__t/PyPy + rm -rf /__t/Java_Temurin-Hotspot_jdk + rm -rf /__t/Python + rm -rf /__t/go + rm -rf /__t/Ruby + echo "Disk space after cleanup:" + df -h - name: Run examples run: | # test datafusion-sql examples