-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
build: maximize available disk space for release #4937
build: maximize available disk space for release #4937
Conversation
rm -r dist/build-* | ||
rm -r dist/*tar.gz* | ||
rm -r dist/*zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove all files other than .deb
and .rpm
? And after using easimon/maximize-build-space
, there is enough space. We may not need to remove these files.
find . -type f ! \( -name "*.rpm" -o -name "*.deb" \) -exec rm -f {} +
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about *.dep.pem
or *.dep.sig
files?
i thought deploy scripts use them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, but easimon/maximize-build-space gives us enough space. We can remove this step for now.
8e6e8b8
to
e474a4c
Compare
b700d3e
to
0173a11
Compare
* remove unneeded bins and archives * use jlumbroso/free-disk-space * remove repeating step * use maximize-build-space * build: remove unused step --------- Co-authored-by: knqyf263 <knqyf263@gmail.com>
Description
We still have disk space problem.
Add next fixes for this:
This Action clears unneeded preinstalled pacakges, images, etc...
Tests:
https://github.com/DmitriyLewen/trivy/actions/runs/5804310282
Issue
Checklist