Skip to content

Commit 788069f

Browse files
committed
ci: rust: fix "no space left in device" error
Remove the content of /__t before starting the QEMUv8_check_rust job. This directory contains things we do not need: # du -s /__t/* | sort -n -r | head -n 10 8651892 /__t/CodeQL 1246592 /__t/Python 1015800 /__t/go 668520 /__t/PyPy 560996 /__t/node 63188 /__t/Ruby 16 /__t/Java_Temurin-Hotspot_jdk Deleting these files saves 11G of disk space in the root directory: $ diff -u df-h_before df-h_after [...] Filesystem Size Used Avail Use% Mounted on -overlay 84G 67G 17G 81% / +overlay 84G 56G 28G 67% / tmpfs 64M 0 64M 0% /dev shm 64M 0 64M 0% /dev/shm -/dev/root 84G 67G 17G 81% /__w +/dev/root 84G 56G 28G 67% /__w tmpfs 1.4G 1.2M 1.4G 1% /run/docker.sock tmpfs 3.4G 0 3.4G 0% /proc/acpi tmpfs 3.4G 0 3.4G 0% /proc/scsi This fixes the "no space left on device" errors that appeared recently when running the job. Signed-off-by: Jerome Forissier <[email protected]>
1 parent 78af2f1 commit 788069f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ jobs:
402402
runs-on: ubuntu-latest
403403
container: jforissier/optee_os_ci:qemuv8_check2
404404
steps:
405+
- name: Remove /__t/*
406+
run: rm -rf /__t/*
405407
- name: Restore build cache
406408
uses: actions/cache@v3
407409
with:

0 commit comments

Comments
 (0)