Comments (5)
I investigated more.
Size of GitHub action ubuntu image has been reduce:
before:
Filesystem Size Used Avail Use% Mounted on
/dev/root 84G 53G 31G 64% /
now:
Filesystem Size Used Avail Use% Mounted on
/dev/root 73G 53G 21G 73% /
Also i played with root-reserve-mb
. Size equal 32GB
doesn't return error - aquasecurity/trivy#6064
from maximize-build-space.
Hello there!
We received the same error.
Our GitHub action broken run
Our configuration
My guess is Github changing its ubuntu-latest version from 20.04 to 22.04 may have something to do with it.
We have seen it work correctly on Ubuntu 22.04.
But i checked successful and broken runs:
image version changed:
successful run:
Runner Image
Image: ubuntu-22.04
Version: 20240126.1.0
broken run:
Runner Image
Image: ubuntu-22.04
Version: 20240201.1.0
from maximize-build-space.
I'm not super familiar with this github action but it seems like the issue is here
sudo touch "${{ inputs.pv-loop-path }}" && sudo fallocate -z -l "${ROOT_LVM_SIZE_BYTES}" "${{ inputs.pv-loop-path }}"
And the value for ${ROOT_LVM_SIZE_BYTES}
seems to be incorrect.
from maximize-build-space.
And lastly, this is our configuration for using this github action:
- name: Maximize build disk space
uses: easimon/maximize-build-space@v8
if: matrix.os == 'ubuntu-latest'
with:
root-reserve-mb: 40000
temp-reserve-mb: 10000
remove-dotnet: true
remove-android: true
remove-haskell: true
remove-codeql: true
from maximize-build-space.
Can confirm reducing root-reserve-mb
fixes my issue.
Will close this issue for now.
from maximize-build-space.
Related Issues (20)
- Potentially to revert actions HOT 3
- Mine got minimized hahaha HOT 2
- Git checkout fails after cleanup HOT 1
- fallocate: invalid length value specified HOT 3
- Use btrfs with compress to further reduce storage consumption HOT 6
- Collect time passed to free up space based on the selected combination
- are LVM operations required HOT 3
- Mount point of LVM Volume is to specific HOT 2
- More possible Cleanup targets HOT 2
- Mount path permissions HOT 6
- Failing to create LVM Volumes (due to Github Runner changes) HOT 7
- is this still working?
- support docker build workflows HOT 6
- temp and root partition swapped HOT 5
- [Suggestion] Use zram as main swap while swap ram as backup HOT 1
- GitHub runners changes causes the root reserve argument to be non-functional HOT 2
- Support only "removal of unnecessary software" HOT 2
- Update README.md to indicate improved tempdisk capacity (14GB -> 74GB) HOT 1
- WARNING: Github runner disk layout is now a fast moving target, breaking this action for many
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maximize-build-space.