annkissam / akd

Elixir Deployment Automation Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a notion of operations that hooks can use.

thebugcatcher opened this issue · comments

This is needed because Hooks have commands, cleanup and rollback, but each of them could be executed in a different destination. Therefore instead of putting a destination in Hook, it makes sense to add Operation type which takes a destination and a set of commands. In this way Hook's maincommands, cleanup and rollback could all the the type Operation.