Add config option to fail pipeline upload on parsing warnings as well as errors
Is your feature request related to a problem? Please describe. Sometimes our pipeline contains bad yaml that means the pipeline won't run or result in the way we expect. The agent will log warnings relating to parse issues but it will continue to upload the pipeline.
Describe the solution you'd like Add an option to configure the agent to bail out on any warnings or errors returned from parsing.
Describe alternatives you've considered We've tried no real alternatives at this point although we did suggest adding some sort of separate pipeline yaml linting, but not exactly sure what that could look like or if it's the best solution.
Additional context
- Re linking this area of the agent code that I think would be where the agent bails on parse warnings.
Hi @nic-littlepay - thanks for raising this! I'm going to double check internally to make sure I understand the reasoning behind it being a warning (not an error) in the first place, then I'll get back to you. Thanks for your patience!
@dabarrell , have you had any update on this?