1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features/step_definitions
David Michael Nelson f79a386aad Prevents last good release from being deleted on cleanup (#1922)
* Prevents last good release from being deleted on cleanup

Issue: 1907

If there are many failed deployments the relese folders will
still be left there and eventually if deploy:cleanup is
executed it will delete the release that is referenced by the
"current" symlink, potentially causing downtime.

That change will prevent the "current release" from ever being
removed during cleanup.

* Link PR on CHANGELOG

* Verify if current dir exists

Check if current release directory exists instead of relying on
exceptions being raised.
2017-10-12 12:40:57 -07:00
..
assertions.rb Prevents last good release from being deleted on cleanup (#1922) 2017-10-12 12:40:57 -07:00
cap_commands.rb Adds acceptance test for rollback feature. (#1891) 2017-07-04 19:02:58 -07:00
setup.rb deploy:cleanup should skip only the invalid releases and continue the rotation of releases (#1899) 2017-07-22 16:15:44 -07:00