Open alexandrevilain opened 3 years ago
@alexandrevilain Thanks! I was having the same use case but we handled it in the bash script but yeah, I think the tool can help with this :)
I'd love to see this too....or, a richer exit code. (0 - no error, 1 - already exists, 127 - actual error)
@alexandrevilain Thanks! I was having the same use case but we handled it in the bash script but yeah, I think the tool can help with this :)
could you share the bash script you have used please?
Hi!
I'm using
helm push
on my CI/CD pipeline and I found that an option is missing for a simple use-case.On a chart monorepo, think about a CI/CD pipeline that tries to push each chart to a chartmuseum to ensure that all charts are uploaded.
For instance, something like:
You don't want to use the
--force
flag, to prevent unversioned changes to be pushed on the chartmuseum but you don't want to see your pipeline fail each time it tries to push an already existing chart version.Using
helm-push
v0.9.0 you get the following error:And we get an exit code != 0.
I think we can add a flag to make helm-push ignore this error.
I will create a PR to fix this issue, let's discuss about it :)