Skip to content

Commit 2c812de

Browse files
committed
✨ Add maximize-build-space action to CI
Frees up ~30-40GB disk space by removing pre-installed software: - .NET runtime: ~20GB - Android SDK: ~10GB - Haskell: ~5GB - CodeQL: ~5GB - Pre-installed Docker images: ~5GB This should prevent 'no space left on device' errors during platform deployment and allow all apps (including Ollama, observability) to run in CI without disk exhaustion. Expected result: ~14GB → ~60GB free space available
1 parent 8bee215 commit 2c812de

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/app-state-validation.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,18 @@ jobs:
7777
if: steps.cluster_mode.outputs.mode == 'kind'
7878
uses: docker/setup-buildx-action@v3
7979

80+
- name: Maximize build disk space
81+
if: steps.cluster_mode.outputs.mode == 'kind'
82+
uses: easimon/maximize-build-space@master
83+
with:
84+
root-reserve-mb: 4096 # Reserve 4GB for OS
85+
swap-size-mb: 1024 # 1GB swap
86+
remove-dotnet: 'true' # ~20GB freed
87+
remove-android: 'true' # ~10GB freed
88+
remove-haskell: 'true' # ~5GB freed
89+
remove-codeql: 'true' # ~5GB freed
90+
remove-docker-images: 'true' # ~5GB freed (pre-installed images we don't need)
91+
8092
- name: Clean up Docker at workflow start
8193
if: steps.cluster_mode.outputs.mode == 'kind'
8294
run: |

0 commit comments

Comments
 (0)