nuvo / orca

Advanced CI\CD tool for Kubernetes and Helm, Environments as Code
Apache License 2.0
172 stars 20 forks source link

Improve error handling in env/chart deployment #8

Closed maorfr closed 5 years ago

maorfr commented 5 years ago

Currently we assume that everything went as expected, and internal functions do not throw errors. We need to add errors to be raised from internal functions, so we do not use log.Fatal in internal functions. This will also require adding an additional environment state called "failed".

In addition, when an environment deployment encounters a "failed" or "delete" state - the process should stop instead of waiting with a loop back.