ci: free up disk space before ROCm container build#460
Conversation
Add disk cleanup step to clear space before building the ROCm container to prevent out-of-disk-space errors during the build process. - Remove .NET framework files (~20-30GB) - Remove Android SDK (~10-15GB) - Remove GHC tooling (~5-10GB) - Remove CodeQL tools (~5-10GB) - Prune Docker system to remove unused images This cleanup runs only for the rocm platform build to minimize impact on other builds. fixes mostlygeek/llama-swap/actions/runs/21021128343
WalkthroughAdds a conditional GitHub Actions workflow step that runs disk cleanup when building ROCm containers. The step prints disk usage, removes large tool directories, prunes Docker images, and precedes the container registry login step. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add disk cleanup step to clear space before building the ROCm container
to prevent out-of-disk-space errors during the build process.
This cleanup runs only for the rocm platform build to minimize impact
on other builds.
fixes mostlygeek/llama-swap/actions/runs/21021128343
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.