-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(deployments): add ability to delete old deployments #3185
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
base: canary
Are you sure you want to change the base?
Conversation
|
I think it would be easier to add a button next to each log with an icon to delete the current log. This would only apply to deployments in the done or error state. |
Hello @Siumauricio , Thank you for your feedback. You mean I could include a button here?
That way, individual records can be deleted. I think that's a good idea, I'll implement it. However, it would be interesting to have a button for bulk deletion, wouldn't it? |
I prefer to have the removal for individual deployments |
d5c10ca to
da32de0
Compare
|
Hello @Siumauricio I have implemented the functionality so that each deployment record can be deleted except for the last one, which is supposed to be the one that is currently active. For now, I have kept the functionality of being able to delete all deployments (except the current one), but if you prefer me to remove it, let me know. On the other hand, the file Bye! |
|
I think this be really nice feature to tidy up, when you have multiple deployments all the time it's nice to keep things tidy and housekeeping +1 |
e629bda to
1ca67cd
Compare
1ca67cd to
e4baeb7
Compare


This pull request adds a new feature to allow users to clear old deployments for both applications and compose resources, keeping only the most recent successful deployment (or the latest if none are successful). It introduces backend logic to delete old deployment records and their logs, exposes new API endpoints, and updates the dashboard UI to provide a "Clear deployments" button. Additionally, it refines the icon usage for the cancel queues action.
Screenshots
Issues related
#3184