Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] speed up the script for freeing disk space by batching removals #6765

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bowenliang123
Copy link
Contributor

@bowenliang123 bowenliang123 commented Oct 21, 2024

🔍 Description

Issue References 🔗

This pull request fixes #

Describe Your Solution 🔧

  • batching removals to avoid repeatedly reading and updating the apt-get databases
  • 50% speed up the execution time for freeing disk space from 2 minutes or more , to about 1 minutues.

Types of changes 🔖

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪

Behavior Without This Pull Request ⚰️

Behavior With This Pull Request 🎉

Related Unit Tests


Checklist 📝

Be nice. Be informative.

@github-actions github-actions bot added the kind:infra license, community building, project builds, asf infra related, etc. label Oct 21, 2024
@bowenliang123 bowenliang123 changed the title speed up script for freeing disk space [CI] speed up the script for freeing disk space by batching removals Oct 21, 2024
@bowenliang123 bowenliang123 marked this pull request as ready for review October 21, 2024 14:56
@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (e0a80f2) to head (dd475c2).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6765   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         684     684           
  Lines       42354   42354           
  Branches     5776    5776           
======================================
  Misses      42354   42354           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Squashed commits:
[688793f] update
@bowenliang123 bowenliang123 self-assigned this Nov 4, 2024
@bowenliang123 bowenliang123 added this to the v1.11.0 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:infra license, community building, project builds, asf infra related, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants