I have got two repositories on github which host code ne for front end and other for backend. I have set up 2 yaml CI-CD pipelines on my project in azure devops one which is configured to trigger for change in the Frontend repo and other in Backend repo. When i trigger any change in Frontend repo,the frontend pipeline gets triggered and When i trigger any change in backend repo,the backend pipeline gets triggered.
I have set up multi stage yaml pipelines ex: Build-> deploy->run tests in both the pipelines .When i trigger both pipelines simultaneously, one pipeline gets queued up and waits until the first stage of 1 pipeline gets completed,then the 1st stage of 2nd pipeline is triggered then the 2nd stage of 1st pipeline then 2nd stage of second pipeline. I want to avoid this thing.
FrontEnd Pipeline-> stage 1
BackendEnd Pipeline-> stage 1
FrontEnd Pipeline-> stage 2
BackendEnd Pipeline-> stage 2
FrontEnd Pipeline-> stage 3
BackendEnd Pipeline-> stage 3
this takes a lot of time and says that the agent is busy . I want to run these pipelines simultaneously like:
FrontEnd Pipeline-> stage 1
FrontEnd Pipeline-> stage 2
FrontEnd Pipeline-> stage 3
getting triggered seperately and
BackendEnd Pipeline-> stage 1
BackendEnd Pipeline-> stage 2
BackendEnd Pipeline-> stage 3
getting triggered seperately at the same time so that both pipelines do execute their own stages. How can this be achieved.