Skip to content

Commit 07a9cf3

Browse files
alambcomphead
authored andcommitted
[main] chore: Fix no space left on device (apache#18141) (apache#18151)
## Which issue does this PR close? - related to apache#18135 - ## Rationale for this change Our example job was failing due to out of space on other branches, so let's remove some unecessary pre-installed software ## What changes are included in this PR? - forward port changes from apache#18141 to main ## Are these changes tested? It is part of CI ## Are there any user-facing changes? No Co-authored-by: Oleks V <comphead@users.noreply.github.com>
1 parent 7722ad8 commit 07a9cf3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,19 @@ jobs:
353353
with:
354354
save-if: ${{ github.ref_name == 'main' }}
355355
shared-key: "amd-ci-linux-test-example"
356+
- name: Remove unnecessary preinstalled software
357+
run: |
358+
echo "Disk space before cleanup:"
359+
df -h
360+
apt-get clean
361+
rm -rf /__t/CodeQL
362+
rm -rf /__t/PyPy
363+
rm -rf /__t/Java_Temurin-Hotspot_jdk
364+
rm -rf /__t/Python
365+
rm -rf /__t/go
366+
rm -rf /__t/Ruby
367+
echo "Disk space after cleanup:"
368+
df -h
356369
- name: Run examples
357370
run: |
358371
# test datafusion-sql examples

0 commit comments

Comments
 (0)