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

feat: bundle retention cron job #275

Closed
wants to merge 2 commits into from

Conversation

akhill10
Copy link

  • Added a new column retention which defaults to null

Cron job that does the following:

  • Check if created_at has to be before than now - days, updated_at has to be before than now - days
  • Check if app_versions is not in use in any channel, if yes they are ignored.
  • delete bucket: set app version deleted to true and bucket_id to null , set size to 0 and remove the bucket from the storage

Fixes #257
/claim #257

@netlify
Copy link

netlify bot commented Aug 17, 2023

Deploy Preview for webcapgo ready!

Name Link
🔨 Latest commit 0f65c29
🔍 Latest deploy log https://app.netlify.com/sites/webcapgo/deploys/64ddf3fbce819a000884f37a
😎 Deploy Preview https://deploy-preview-275--webcapgo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@akhill10 akhill10 force-pushed the feat/cron-bundle-retention branch from 3fa3bd0 to 0f65c29 Compare August 17, 2023 10:18
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
8.8% 8.8% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@riderx
Copy link
Contributor

riderx commented Aug 17, 2023

close in favor of the other PR

@riderx riderx closed this Aug 17, 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.

Allow to set in your account bundle retention
2 participants