-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to jlumbroso/free-disk-space for freeing runner space (#428)
The previous space freeing method (easimon/maximize-build-space) at some point circa 2024-01 stopped freeing as much space, likely due to changes in the runner (~29GB free after it freed space). Not sure why this happened, but jlumbroso/free-disk-space at time of this commit would get us up to ~45GB free on the runner without negative effects so we've switched to that.
- Loading branch information
1 parent
5767624
commit 36b106b
Showing
1 changed file
with
10 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,18 +79,14 @@ jobs: | |
steps: | ||
# Ideally we'd use self-hosted runners, but this effort is still not stable | ||
# This action will remove unused software (dotnet, haskell, android libs, codeql, | ||
# and docker images) from the GH runner, which will liberate around 60 GB of storage | ||
# distributed in 40GB for root and around 20 for a mnt point. | ||
# and docker images) from the GH runner. | ||
# This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their | ||
# runners | ||
- name: Maximise GH runner space | ||
uses: easimon/maximize-build-space@v7 | ||
with: | ||
root-reserve-mb: 29696 | ||
remove-dotnet: 'true' | ||
remove-haskell: 'true' | ||
remove-android: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
uses: jlumbroso/[email protected] | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup operator environment | ||
uses: charmed-kubernetes/actions-operator@main | ||
with: | ||
|
@@ -123,17 +119,11 @@ jobs: | |
# This is a workaround for https://github.com/canonical/kfp-operators/issues/250 | ||
# Ideally we'd use self-hosted runners, but this effort is still not stable | ||
# This action will remove unused software (dotnet, haskell, android libs, codeql, | ||
# and docker images) from the GH runner, which will liberate around 60 GB of storage | ||
# distributed in 40GB for root and around 20 for a mnt point. | ||
# and docker images) from the GH runner. | ||
# This leaves ~45GB free as of 2024-04-10, but this amount has varied as GH changed their | ||
# runners | ||
- name: Maximise GH runner space | ||
uses: easimon/maximize-build-space@v7 | ||
with: | ||
root-reserve-mb: 29696 | ||
remove-dotnet: 'true' | ||
remove-haskell: 'true' | ||
remove-android: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
uses: jlumbroso/[email protected] | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|