Integrate Gitlab to Azure Devops
- Can it possible that I push my changes in Gitlab and Azure pipeline will run automatically? If YES then how to achieve this and If NO then is there any other alternative way?
- My gitlab project is iOS one and I do not have any Mac OS system now(To run the pipeline on gitlab, we have created a shared runner on someone system, so there is an dependency. To remove this dependency I want to go for Azure Devops). So to run pipeline, does Azure supports iOS project without any Mac OS installation or it required to install Mac OS on Azure devops ? If Installation required then how I can install it?
- is the same gitlab-ci.yml file will use to run CI/CD process on Azure or I have to write another yml file on Azure side and also where I can put this file?
Hi @yashika5122 , I have the same questions as yours, did you get it sorted out?
Hi @zhanqianwen , Yes , it is working for me. For Point 1 - Write git push to Azure repository in gitlab-ci.yml file. So as soon as code push to the gitlab it will run the gitlab pipeline and push the code to Azure repo. On Azure side create a pipeline for all requirements like build, test etc. For Point 2 - Azure provides Linux , window and MacOS as agents , so pipeline of iOS can run on MacOS agent, no need to set up any MacOS. For Point 3 - For Azure side need to create another pipeline file. gitlab-ci.yml file only works for gitlab pipeline. Azure pipeline can we create by two ways-
- azures-pipeline.yml
- classic pipeline
Please share ,if you find some other way to implement this. Thank you.
Hi @yashika5122
Thank you for your answers! :-)