Skip to content

Set proper exit status when Merge Trains fail

Yorick Peterse requested to merge fail-merge-train into master

When triggering a merge train for stable branches, Curl would exit with a status of 0 in the event of a failure (e.g. a wrong token being used). By using the -f flag, we tell Curl to exit with a non-zero exit code instead. This in turn will result in build failures, making it more obvious to the Delivery team that something is wrong.

Related to gitlab-com/gl-infra/delivery#1139 (closed)

Edited by Mayra Cabrera

Merge request reports