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

Add dev release cleanup workflow #7

Open
inFocus7 opened this issue Aug 26, 2024 · 0 comments
Open

Add dev release cleanup workflow #7

inFocus7 opened this issue Aug 26, 2024 · 0 comments
Labels
ci/cd This issue or pull request modifies CI/CD workflows

Comments

@inFocus7
Copy link
Contributor

Currently dev release images and charts are published alongside official releases and do not auto-expire/delete. This will lead to bloat in our repositories over time if we don't manually remove those we created.

In order to circumvent this we should create a cleaner workflow to handle deleting those. It can run either automatically (once a week or month) or be manually dispatched.

For example, because the naming convention of dev releases is dev-$branch-$commit_hash, we could do a weekly (or manual) cleanup run that deletes all images + charts with dev-*. If possible, and even better, we should try to do this for images/charts that were created past a certain date (ex. "delete dev-* images created before the beginning of last week.")

@inFocus7 inFocus7 added the ci/cd This issue or pull request modifies CI/CD workflows label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd This issue or pull request modifies CI/CD workflows
Projects
None yet
Development

No branches or pull requests

1 participant