Skip to content
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

fix: added cleanup step before running dist stage. #156

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

vlad-diachenko
Copy link
Contributor

@vlad-diachenko vlad-diachenko commented Aug 8, 2024

added cleanup step to remove 9GB of cache before running dist stage.
Prepare Patch Release PR is constantly failing with an error: no space left on device (example).
I found the Github mounts a special folder(cache) with all supported versions of Python, Node, Go, etc, which are used when Setup Go/Python/etc action is used (see).
For the jobs that are executed inside loki-build-image, this cache is not needed at all....
We could gain free space to win the time until we refactor/redesign our release workflow.
image

PS: I already tried to remove this folder in Loki check step and it did not affect the CI. (here)

Copy link

@poyzannur poyzannur left a comment

Choose a reason for hiding this comment

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

lgtm

@vlad-diachenko vlad-diachenko merged commit 87cb509 into main Aug 8, 2024
27 checks passed
@vlad-diachenko vlad-diachenko deleted the vlad.diachenko/add-cleanup-step branch August 8, 2024 11:46
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.

2 participants