ipedrazas / drone-helm

Helm (Kubernetes) plugin for drone.io
MIT License
120 stars 90 forks source link

Added atomic flag #100

Closed stixx closed 2 years ago

stixx commented 4 years ago

The current drone-helm implementation has no way to purge or rollback failed deployments. The atomic flag can handle this situation and therefore I added it as an option.

On install: if set, installation process purges chart on fail, also sets --wait flag

On upgrade: if set, upgrade process rolls back changes made in case of failed upgrade, also sets --wait flag

In my opinion this is the way a CI/CD like Drone should be working in the first place.

stixx commented 4 years ago

I have no clue why the build failed but I've successfully tested this on our current environment. I've pushed the image to docker hub here: https://cloud.docker.com/repository/docker/stixx/drone-helm.