Skip to content

Give Github Actions instance more disk #1427

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

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Give Github Actions instance more disk #1427

merged 1 commit into from
Aug 29, 2023

Conversation

ipince
Copy link
Contributor

@ipince ipince commented Aug 29, 2023

Summary

Actions have been failing with no space left on device for a few days now.

This change adds the https://github.com/marketplace/actions/maximize-build-disk-space action to leave more space available for the actual job, per @savil 's suggestion.

To choose the parameters to use, I looked at Savil's PR's runs, for example:
https://github.com/jetpack-io/devbox/actions/runs/6005813206/job/16289263569

And noticed that before any changes:

Available storage:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        84G   62G   22G  74% /          <-------- we start out with 22G and we run out
tmpfs           3.4G  172K  3.4G   1% /dev/shm
tmpfs           1.4G  1.1M  1.4G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sdb15      105M  6.1M   99M   6% /boot/efi
/dev/sda1        14G  4.1G  9.0G  31% /mnt       <-------- temp space is much higher than the action's default of 100mb.
tmpfs           694M   12K  694M   1% /run/user/1001

After the maximize space action runs (with these params):

Available storage:
Filesystem                   Size  Used Avail Use% Mounted on
/dev/root                     84G   45G   40G  54% /           <----- ~doubled it to 40G
tmpfs                        3.4G  172K  3.4G   1% /dev/shm
tmpfs                        1.4G  1.1M  1.4G   1% /run
tmpfs                        5.0M     0  5.0M   0% /run/lock
/dev/sdb15                   105M  6.1M   99M   6% /boot/efi
/dev/sda1                     14G  3.2G  9.8G  25% /mnt        <----- kept it the same at 10G
tmpfs                        694M   12K  694M   1% /run/user/1001
/dev/mapper/buildvg-buildlv  4.3G   24K  4.3G   1% /home/runner/work/devbox/devbox

How was it tested?

Github Actions

@ipince ipince changed the title [WIP] Give Github Actions instance more disk Give Github Actions instance more disk Aug 29, 2023
@ipince ipince requested a review from savil August 29, 2023 02:53
@ipince ipince marked this pull request as ready for review August 29, 2023 02:53
Copy link
Collaborator

@savil savil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! we were converging at similar solutions...

@ipince ipince merged commit 872d216 into main Aug 29, 2023
@ipince ipince deleted the rodrigo/cli-disk branch August 29, 2023 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants