rax-maas / dreadnot

deploy without dread
Apache License 2.0
631 stars 61 forks source link

feature(stack): Added a 'finally' target #81

Closed phoebesimon closed 8 years ago

phoebesimon commented 8 years ago

What Let users add a target that will execute after the success or failure of the 'deploy' target

How stack.js: Let user define a 'finally' target that will run after success or failure of the 'deploy' target README.md: Updated readme to describe the 'finally' target

Why Currently, if a deploy fails, it means that we won't clean up the suppressions we put in place at the start of the deploy. This lets us perform cleanup actions regardless of failure

jirwin commented 8 years ago

LGTM. Can you add a finally task to the example stack that is include?

phoebesimon commented 8 years ago

@jirwin added in 349f890

jirwin commented 8 years ago

+1