ci: add maximize-space plugin to actions #3945
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is a temporary solution to unblock our stuck PRs because of failing Actions
Integration
/Bats
We have an issue right now where our
/nix/store
files (~6GB) andbuck-out
build folder (~11GB) are taking up too much of the ~21GB available on the github runner image disk to successfully execute tests.There is a ~74GB
/mnt
partition available though that it seems is meant as a temp disk that just has a swap file and is otherwise unused.This plugin concatenates the free space on
/
and/mnt
to a single LVM volume group and then mounts the build volume back to this new larger space.Note: This is a hacky solution since the
/mnt
folder isn't documented and may be changed or removed later on. It's a signal that we maybe need to either move to a larger paid action runner or switch to our own runner.quickstart
The nix builds on root folder are pretty much at the ~21GB disk-availale limit right now. They can't be fixed in a straightforward way with the following plugin since the plugin targets re-mapping the workspace volume and not the entire root folder.