-
Notifications
You must be signed in to change notification settings - Fork 353
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
Provide a command to purge environments #744
Comments
This issue has been marked stale because it has had no activity for 60 days. The Puppet Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days. |
This still has value for me and my current employer. |
We're actually actively planning to add something like this, because we're having issues in PE with running r10k in parallel to deploy environments, so some threads are purging while others are deploying, which can sometimes result in errors. See https://tickets.puppetlabs.com/browse/RK-367. If I remember right, the |
This issue has been marked stale because it has had no activity for 60 days. The Puppet Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days. |
Is there a way to tell the bot this is in planning/development and to stop marking it stale? Other than updates like this, that is. |
We ended up going in a different direction to solve the issue of parallel deployment/purging processes clobbering each other, but this still seems like it would be a helpful feature to y'all. We're working on prioritizing r10k maintenance, so we will hopefully get a chance to look into this in the not-too-distant-future. |
This issue has been marked stale because it has had no activity for 60 days. The Puppet Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days. |
Still need this |
I'm on an OSP engagement at the moment, this would be a win for them. What we've begun rolling/testing hasn't gone well yet. |
Hi @rnelson0, thanks for opening this! r10k is now considered to be feature complete and we are unfortunately discontinuing development. As a result, we are closing all open issues and pull requests. I sincerely apologize that we’re unable to address this issue. |
When a branch is deleted from the controlrepo, it appears the only way to purge that is to run
r10k deploy environment [$environment]
. There is no command to simply check and purge environments. In order to purge deleted environments, this could cause side effects where some external content in the deployed environment(s) is updated - for instance, a module pointing at HEAD or a branch name that has been updated since the last deploy. This could be avoided by adding a--purge-only
,undeploy
, or similar command to r10k.See voxpupuli/puppet-r10k#374 for some of the side effects of the current implementation.
The text was updated successfully, but these errors were encountered: