Commit 014b8b3
authored
ci: reclaim disk space on amd64 ingest container build (#250)
PR #249's release build hit out-of-disk on `container-build (ingest, amd64)`:
##[warning]You are running out of disk space. Free space left: 0 MB
Error: ... uv sync ...: io: read/write on closed pipe
The ingest service transitively pulls the full torch + nvidia CUDA wheel
stack via memvid-sdk -> sentence-transformers. The ~14 GB free on the
hosted ubuntu-latest runner gets consumed by the rocky-linux/ubi-micro
build stages, the uv cache mount, and the layer being committed.
Add `jlumbroso/free-disk-space@v1.3.1` to reclaim ~30 GB by purging the
preinstalled tool-cache, Android SDK, .NET, and Haskell that this build
does not need. Gated to `ingest` + `amd64` because arm64 (ubuntu-24.04-arm)
has more headroom and other images (frontend/api/memvid) don't pull torch.
This is the immediate unblock; a follow-up PR will pin ingest to the
CPU-only torch wheel index to stop the CUDA wheels landing in the image
at all.1 parent 1836fd6 commit 014b8b3
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
646 | 662 | | |
647 | 663 | | |
648 | 664 | | |
| |||
0 commit comments