How can I wait for my Gitlab pipeline to finish before Bitrise Workflow starts

When I upload my code to my Gitlab repository I need to run local tests on Gitlab first. However when I merge this code to my development branch I have a bitrise trigger to start running a workflow when it sees a merge.
I dont want that.
I want bitrise to wait until all of my steps from Gitlab are finished then I need it to start the workflow.

How can I do this exactly? I mean exact steps to fix this issue.

Hi @Kaddatech

Thanks for the feedback. What does β€œa gitlab step” mean in your context?

Hello,

You should remove the trigger in Bitrise that starts running a workflow when it sees a merge.

At the end of your Gitlab workflow, add a step to call the Bitrise API to start the workflow.

1 Like