Skip to content

Replace manual disk cleanup with quick-cleanup#9550

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

Replace manual disk cleanup with quick-cleanup#9550
sebrandon1 wants to merge 1 commit intovmware-tanzu:mainfrom
sebrandon1:use-quick-cleanup

Conversation

@sebrandon1
Copy link

@sebrandon1 sebrandon1 commented Feb 18, 2026

Summary

Replace manual disk cleanup scripts with the shared palmsoftware/quick-cleanup GitHub Action.

This consolidates the manual cleanup (swapoff, swap removal, docker system prune) into a single maintained action as a separate step before the publish step. It also provides automatic Docker storage relocation to the larger /mnt partition — a feature none of the manual scripts currently implement.

Already in use

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

Tracking

Related PRs

Changes

  • Updated .github/workflows/push.yml — extracted cleanup into separate palmsoftware/quick-cleanup@v0 step before publish

Benefits

  • Less boilerplate — replaces manual swap/prune 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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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