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

Adjust Cloudsmith retention limit to have at most ~10k preview packages at all times #15817

Closed
Piedone opened this issue Apr 24, 2024 · 2 comments

Comments

@Piedone
Copy link
Member

Piedone commented Apr 24, 2024

Is your feature request related to a problem? Please describe.

Cloudsmith hosts our preview packages for free. They asked us to reduce the current number of preview packages to ~10k. This is more than 1.5 months of retention, in line with what we have documented.

Describe the solution you'd like

Under https://cloudsmith.io/~orchardcore/repos/preview/lifecycle/, eventually, Limit By Count should be ~50, reducing the total number of packages at a time to about 10k. Make sure that we indeed have 50 versions available for all packages.

Describe alternatives you've considered

We could migrate to a different package hosting solution. However, we went to Cloudsmith for a reason back then. GitHub package hosting is another option. However, there we have a ~25 GB limit for storage and 100 GB for monthly data transfer (see here).

@Piedone
Copy link
Member Author

Piedone commented Apr 24, 2024

I'm working on this.

@Piedone
Copy link
Member Author

Piedone commented May 1, 2024

This is now done. I lowered the number of available versions to 52, so that's at least the last 52 days of preview packages (with at most 1 package a day, that's about 1,5 months' worth of packages).

@Piedone Piedone closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant