Skip to content

Comments

Replace manual disk cleanup with quick-cleanup#159

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

Replace manual disk cleanup with quick-cleanup#159
sebrandon1 wants to merge 1 commit intoopenshift-kni: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 4 identical copy-paste cleanup blocks across 2 workflows into a single maintained action. It also provides automatic Docker storage relocation to the larger /mnt partition.

Already in use

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

Related PRs

Tracking

Changes

  • Updated .github/workflows/publish.yaml — replaced 2 "Free Disk Space" blocks
  • Updated .github/workflows/ci.yaml — replaced 1 "Free Disk Space" block

Benefits

  • Less boilerplate — replaces 33 lines of shell commands across 3 locations
  • 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.
@openshift-ci openshift-ci bot requested review from fedepaol and zeeke February 18, 2026 15:49
@openshift-ci
Copy link

openshift-ci bot commented Feb 18, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sebrandon1
Once this PR has been reviewed and has the lgtm label, please assign zeeke for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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