Skip to content

Free up additional disk space on GitHub runner#2674

Merged
adpaco merged 10 commits into
model-checking:mainfrom
tautschnig:cleanup-runner
Aug 18, 2023
Merged

Free up additional disk space on GitHub runner#2674
adpaco merged 10 commits into
model-checking:mainfrom
tautschnig:cleanup-runner

Conversation

@tautschnig

Copy link
Copy Markdown
Member

Description of changes:

Our releasebundle-ubuntu action occasionally failed for it ran out of disk space. (See
https://github.com/model-checking/kani/actions/runs/5765091278/job/15630375703 for one such example.

This additional build step cleans out binaries that we do not need, such as Haskell, .NET, or Android SDKs. This frees up 28 GB of memory (out of a total of 84 GB).

Resolved issues:

n/a

Related RFC:

n/a

Call-outs:

n/a

Testing:

  • How is this change tested? CI

  • Is this a refactor change? No

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • n/a Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Our releasebundle-ubuntu action occasionally failed for it ran out of disk
space. (See
https://github.com/model-checking/kani/actions/runs/5765091278/job/15630375703
for one such example.

This additional build step cleans out binaries that we do not need, such
as Haskell, .NET, or Android SDKs. This frees up 28 GB of memory (out of
a total of 84 GB).
@tautschnig tautschnig requested a review from a team as a code owner August 11, 2023 10:45
Comment thread .github/workflows/kani.yml Outdated

@celinval celinval left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was wondering if we should add this new step to the setup action instead, so most of our jobs would benefit from this cleanup.

@tautschnig tautschnig self-assigned this Aug 18, 2023
@tautschnig

Copy link
Copy Markdown
Member Author

I was wondering if we should add this new step to the setup action instead, so most of our jobs would benefit from this cleanup.

Done.

@adpaco

adpaco commented Aug 18, 2023

Copy link
Copy Markdown
Contributor

I agree with @zhassan-aws that this is too aggressive. We shouldn't need 28GB ever, and it's good to have less space than that so we can notice performance regressions in the future.

@tautschnig

Copy link
Copy Markdown
Member Author

I agree with @zhassan-aws that this is too aggressive. We shouldn't need 28GB ever, and it's good to have less space than that so we can notice performance regressions in the future.

I'm now more conservative in what is being removed.

Comment thread .github/actions/setup/action.yml Outdated
@adpaco adpaco enabled auto-merge (squash) August 18, 2023 19:32
@adpaco adpaco merged commit 2391295 into model-checking:main Aug 18, 2023
@tautschnig tautschnig deleted the cleanup-runner branch August 19, 2023 05:27
This was referenced Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants