Skip to content

Comments

Replace manual disk cleanup with quick-cleanup#341

Closed
sebrandon1 wants to merge 1 commit intoopenshift:mainfrom
sebrandon1:use-quick-cleanup
Closed

Replace manual disk cleanup with quick-cleanup#341
sebrandon1 wants to merge 1 commit intoopenshift:mainfrom
sebrandon1:use-quick-cleanup

Conversation

@sebrandon1
Copy link
Member

@sebrandon1 sebrandon1 commented Feb 18, 2026

Summary

Replace the manual disk cleanup step in the libvirt e2e workflow with the shared palmsoftware/quick-cleanup GitHub Action.

This consolidates the manual cleanup (rm -rf ghcup, CodeQL, android, dotnet, ghc, boost, AGENT_TOOLSDIRECTORY) into a single maintained action. It also provides automatic Docker storage relocation to the larger /mnt partition.

Note: The mid-workflow docker system prune after image extraction is intentionally preserved as it serves a different purpose.

Already in use

quick-cleanup is already adopted in production workflows across multiple repos:

Related PRs

Tracking

Changes

  • Updated .github/workflows/e2e_libvirt.yaml — replaced "Remove unnecessary directories" step

Benefits

  • Less boilerplate — replaces 9 lines of manual rm -rf commands
  • Docker relocation — automatically moves Docker storage to /mnt (larger partition)
  • Adaptive cleanup — adjusts intensity based on available space
  • Disk reporting — built-in before/after df -h output
  • Maintained upstream — cleanup targets updated as runner images change
  • Apache 2.0 licensed

Consolidates manual disk cleanup into a shared, maintained action that
also provides automatic Docker storage relocation to /mnt.
@sebrandon1
Copy link
Member Author

Closing — GitHub Actions is not enabled on this fork. The upstream workflows are not executed in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant