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

Create a script to increase the amount of storage space on default runner #5262

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

Cliftonz
Copy link
Contributor

@Cliftonz Cliftonz commented Mar 5, 2024

This adds a script to the parts of the pipeline that do the docker build.

This script is a temporary fix by removing unused and preinstalled tooling and removes apt caches.

Cliftonz added 3 commits March 5, 2024 14:20
Added a new 'subscribers' field to the WebhookResponseDto and subsequently updated the convertToDTO function in the 'convert-response.usecase.ts' file to include this field. Additionally, updated the 'execute' method in 'get-webhook.usecase.ts' to return a Promise of 'WebhookResponseDto' type or null. Also, the method 'triggerWebhook' in 'webhook.controller.ts' has been significantly updated to handle webhook triggers more robustly.
The 'free-space' action in GitHub workflow has been updated to stop purging web browser packages - firefox, google-chrome-stable, and microsoft-edge-stable. This ensures these resources get retained after the action execution allowing for browser-based operations or tests in the workflow.
An 'apt clean' command is added in 'free-space' action of the GitHub workflow. This is to ensure we free up the apt cache and potentially reclaim space that can be used for more crucial processes or resources during the execution of workflow actions.
Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for dev-web-novu failed.

Name Link
🔨 Latest commit a346546
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/65e804687a76550008e957a1

Copy link
Contributor

@AliaksandrRyzhou AliaksandrRyzhou left a comment

Choose a reason for hiding this comment

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

LGTM. I've added cspell new words. Do we have to add the same step to the production build? As I remember currently Gali faces this issue only with API service or we have to take care about other services too. How do you think? Anyway we can merge it and see as it goes on

@Cliftonz Cliftonz merged commit 75159d4 into next Mar 6, 2024
20 of 24 checks passed
@Cliftonz Cliftonz deleted the runner-space branch March 6, 2024 12:36
@scopsy
Copy link
Contributor

scopsy commented Mar 6, 2024

@Cliftonz @AliaksandrRyzhou I see that we haven't tested this on all test.yml pipelines. https://github.com/novuhq/novu/actions/runs/8172265709/job/22342316168?pr=5253
Falling for me, can someone assist, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants