opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Helm diff result log filtering does not work in debug mode #563

Closed michaelsauter closed 2 years ago

michaelsauter commented 2 years ago

In debug mode, the output is:

Error: identified at least one change, exiting with non-zero exit code (detailed-exitcode parameter enabled)
Error: plugin "diff" exited with error
helm.go:81: [debug] plugin "diff" exited with error

[helm-secrets] Removed: ./chart/secrets.dev.yaml.dec
Error: plugin "secrets" exited with error
helm.go:81: [debug] plugin "secrets" exited with error

We should make the detection of these log output messages a bit smarter. Also, the current implementation assumes xargs to be missing which is not the case anymore.