Skip to content

Add config option to fail pipeline upload on parsing warnings as well as errors #3303

@nic-littlepay

Description

@nic-littlepay

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions