josmo / drone-rancher

Drone plugin for triggering Rancher deployments
53 stars 35 forks source link

Ability to confirm before update #24

Open abemedia opened 6 years ago

abemedia commented 6 years ago

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 6 years ago

@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 :)

abemedia commented 6 years ago

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