Skip to content

Preserve the exit-code for "fail-fast: false" mode #375

@arm4b

Description

@arm4b

The fail-fast mode will exit with non-zero code immediately when there's an error in deployment. This is as intended.

However, currently, when the fail-fast mode is disabled and there's an error in deployment, BitOps will run until the end and exit with 0 return code like it was a success.

The expectation from the fail-fast: false mode is to run all the deployment steps, but defer the error code (if any) and bubble it up to the BitOps finish exit code. This way we exit with non-zero if some deployment in the middle of the pipeline was unsuccessful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions