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

automatically clean up old deploys #46

Open
rlskoeser opened this issue Nov 25, 2020 · 0 comments
Open

automatically clean up old deploys #46

rlskoeser opened this issue Nov 25, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request 🚧 maintenance Upkeep tasks and fixes

Comments

@rlskoeser
Copy link
Contributor

rlskoeser commented Nov 25, 2020

Is your feature request related to a problem? Please describe.
Currently, the deploy scripts leave all past deploys sitting in the directory.

Describe the solution you'd like
Old deploys should automatically be cleaned up when the deploy finishes. Maybe keep the last 3 based on date (most recent)? Should always preserve current + previous.

See for one possible solution https://www.future500.nl/articles/2014/07/thoughts-on-deploying-with-ansible/

Describe alternatives you've considered
Could be cleaned up manually or by a cron job, but seems better to make it part of the deploy.

@rlskoeser rlskoeser added the enhancement New feature or request label Nov 25, 2020
@rlskoeser rlskoeser added the 🚧 maintenance Upkeep tasks and fixes label Mar 23, 2021
@kayiwa kayiwa self-assigned this Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🚧 maintenance Upkeep tasks and fixes
Projects
None yet
Development

No branches or pull requests

2 participants