Closed tonsV2 closed 3 years ago
[ "$IMAGE_TAG" != "latest" ] && ./helmfile -e prod sync
If the condition in the above expression is false 1 will be the exit code of the entire expression. Currently I'm handling this by doing a ls
on the line afterwards.
I'm currently using helmfile to install a chart directly from a subfolder in my project.
The helmfile can be found here.
The relevant part of my pipeline can be found here.
The complete output from the log can be found here. But I've tried to show the relevant part below.
When I'm running the same command locally, using the same version of helmfile (v0.126.2), the process terminates with exit code 0. Any clue about how to fix the above?