Add Free Disk Space step to CI workflows#1537
Conversation
Co-authored-by: hzxuzhonghu <13374016+hzxuzhonghu@users.noreply.github.com>
Co-authored-by: hzxuzhonghu <13374016+hzxuzhonghu@users.noreply.github.com>
|
/lgtm |
There was a problem hiding this comment.
Pull request overview
This PR adds disk space cleanup to CI workflows to prevent disk exhaustion failures. The jlumbroso/free-disk-space@v1.3.1 action is added as the first step (before checkout) in 7 workflow files that were experiencing disk space issues.
Key Changes:
- Adds free-disk-space action to all E2E test workflows (6 files: istio 1.24/1.25/1.26 for both IPv4 and IPv6)
- Adds free-disk-space action to the main CI workflow
- Preserves tool cache for Go/Python while removing Android SDK, .NET, Haskell, large packages, Docker images, and swap
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/main.yml |
Adds disk cleanup to main CI build and test workflow |
.github/workflows/e2e-istio-1.24.yml |
Adds disk cleanup to E2E tests with Istio 1.24 |
.github/workflows/e2e-istio-1.25.yml |
Adds disk cleanup to E2E tests with Istio 1.25 |
.github/workflows/e2e-istio-1.26.yml |
Adds disk cleanup to E2E tests with Istio 1.26 |
.github/workflows/e2e-ipv6-istio-1.24.yml |
Adds disk cleanup to E2E IPv6 tests with Istio 1.24 |
.github/workflows/e2e-ipv6-istio-1.25.yml |
Adds disk cleanup to E2E IPv6 tests with Istio 1.25 |
.github/workflows/e2e-ipv6-istio-1.26.yml |
Adds disk cleanup to E2E IPv6 tests with Istio 1.26 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Adds
jlumbroso/free-disk-space@v1.3.1as the first step in all CI workflows to prevent disk exhaustion failures.Workflows updated:
e2e-istio-1.24.yml,e2e-istio-1.25.yml,e2e-istio-1.26.ymle2e-ipv6-istio-1.24.yml,e2e-ipv6-istio-1.25.yml,e2e-ipv6-istio-1.26.ymlmain.ymlConfiguration:
Clears Android SDK, .NET, Haskell, large packages, Docker images, and swap. Tool cache preserved for Go/Python toolchains.
Which issue(s) this PR fixes:
Fixes #815
Special notes for your reviewer:
Configuration matches volcano-sh/volcano#4759. Action pinned to v1.3.1 for reproducibility.
Does this PR introduce a user-facing change?:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com//advisories/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.