You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We use preflight check in our CI infrastructure to ensure our images will pass the preflight check once we submit it. There is currently no way to tell preflight check to exit with a non-zero code in case of any failed tests.
Describe the solution you'd like.
It would be helpful to have a flag like --exit-with-failure or something similar, that will return a non-zero status code when the preflight check did not pass. The operator pipeline has --exit-with-pipelinerun-error for example.
Describe alternatives you've considered.
The workaround is to parse the output and check if passed is true.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We use preflight check in our CI infrastructure to ensure our images will pass the preflight check once we submit it. There is currently no way to tell preflight check to exit with a non-zero code in case of any failed tests.
Describe the solution you'd like.
It would be helpful to have a flag like
--exit-with-failure
or something similar, that will return a non-zero status code when the preflight check did not pass. The operator pipeline has--exit-with-pipelinerun-error
for example.Describe alternatives you've considered.
The workaround is to parse the output and check if
passed
is true.The text was updated successfully, but these errors were encountered: