josmo/drone-rancher

Ability to confirm before update

Opened this issue · 2 comments

It would be great to have an option like confirm_previous which confirms any previous upgrade before running the current one. Currently, if a previous upgrade has not been confirmed yet, the job fails with the following error message:

Unable to upgrade service stack/service: Action [upgrade] not available on ...

Especially when using this to update a test environment after pull requests (where you don't really care about the ability to roll back) this feature would be really useful.

josmo commented

@abemedia totally agree that would be great. I'm a bit busy on a few projects right now so it may be a while before I take a look at it but I would welcome a PR :)

If I have some time at the weekend I might have a bash at this