29 lines
655 B
Markdown
29 lines
655 B
Markdown
# Freeing Disk Space Quickly
|
|
|
|
If PTY allocation or builds fail with “No space left on device”, try these steps (safe order):
|
|
|
|
1) Remove build/test artefacts:
|
|
```
|
|
DRY_RUN=1 scripts/devops/cleanup-workspace.sh # preview
|
|
SAFE_ONLY=0 scripts/devops/cleanup-workspace.sh # include bin/obj if needed
|
|
```
|
|
|
|
2) Prune Docker cache (if allowed):
|
|
```
|
|
docker system prune -af
|
|
docker volume prune -f
|
|
```
|
|
|
|
3) Clear NuGet cache (local user):
|
|
```
|
|
rm -rf ~/.nuget/packages
|
|
```
|
|
|
|
4) Remove old CI artefacts:
|
|
- `ops/devops/artifacts/`
|
|
- `ops/devops/ci-110-runner/artifacts/`
|
|
- `ops/devops/sealed-mode-ci/artifacts/`
|
|
- `out/` directories
|
|
|
|
5) Re-run the blocked workflow.
|