maximize-build-space
maximize-build-space copied to clipboard
Github action to maximize the available disk space on Github runners
As composite-based actions now has [support for conditionals](https://github.blog/changelog/2021-11-09-github-actions-conditional-execution-of-steps-in-actions/), we can now run a separate script that runs on Windows and macOS to maximize available disk space.
Some compilations need a lot of rams and sometimes, the runner will timeout and it isn't because of lack of ram as you can assign gigs of swap ram, it...
For two weeks or so the root partition and the temp partition has been swapped on around 20% of the runners. Which results in temp getting bigger and root staying...
Before I knew this action I was using [btrfs with compress](https://github.com/radxa/armbian-compile-action/commit/82fe40188f2f3b4dbd4ae8fb9c64f49f117085c7) to workaround my own space issue. I see this action is still using ext4, so this could be another...
The first three steps will work for docker build, can you integrate it into the action? ```yaml jobs: build_docker: runs-on: ubuntu-latest steps: - name: Backup docker files run: | echo...
I specified zstd level 13 here, but I'm not sure that it is the best compression level in terms of maintaining performance. I did not make an option to keep...
Since the Runner VMs are populated by a script, the knowledge of the contents of its configuration can help with identifying further target to remove. For example: https://github.com/actions/runner-images/blob/main/images/linux/toolsets/toolset-2204.json How about...
This option removes a bunch of packages that are big. Results in around 5GB of free space. Based on this script: https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
Are the LVM operations required? Would it be possible to just remove the software and skip the LVM step? I only ask because I'm not sure what maximum value I...
This is a very useful action, and saved us a ton of headache! From the README: > At the time of writing, public [Github-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) are using [Azure DS2_v2 virtual...