I have a pipeline use case that’s build > test > publish > deploy_dev > ... > deploy_prod (manual)
. The automation is nice, but slow. Sometimes we need to merge to master before the pipeline is complete. The Only allow merge requests to be merged if the pipeline succeeds
option is not checked, but the Merge
button on the merge request is grayed out, with the message Pipeline blocked. The pipeline for this merge request requires a manual action to proceed
. If I manually trigger the deploy_prod
job and immediately cancel it, I can merge the MR. But this is a janky workaround.
So, my questions:
- Does the
Only allow merge requests to be merged if the pipeline succeeds
setting even factor in to this? - Is it a default behavior that a pipeline must complete (pass or fail) before a MR can be merged?
- Other than a CLI merge, is there a way to merge without waiting for (or cancelling) a pipeline?