Closed jdowning closed 9 years ago
@justindowning I like it! Question... as it stands now when I rollback I'll get a "user has started deploying..." message as we run our 'starting' task after capistrano's 'starting' task (which is run on both deploy and rollback). What are your thoughts on tweaking that so that we run two 'starting' tasks.. one for 'updating' and one for 'reverting'.
@justindowning I think I ought to do it. Still curious to hear your thoughts, but I'm gonna start tweaking.
@justindowning Thanks for getting the ball rolling on this. I took it and ran a little bit (not much). Version 1.0.0 pushed to rubygems. Changed your :rollback
name a little bit. See the changelog for details.
👍
Awesome!! :heart_eyes:
Changes looks good -- happy to see you get to 1.0.0
too!
This addresses issue #19. Here, we are adding a
slack:deploy:rollback
task that hooks into the Capistranodeploy:finishing_rollback
task. This task includes all the same variables available to similar tasks like starting, finished, and failed.Additionally, in order to differentiate between a deployment finishing and a rollback finishing, the
slack:deploy:finished
task was moved to the Capistranodeploy:finishing
task.Judging by the difference between a rollback and a deploy, using the
finishing
tasks seems more appropriate long term.@phallstrom Should this change agree with you, I suggest a
1.0
release to mark a major/API change (in case any users are depending on usingdeploy:finished
). :green_heart: