onlyutkarsh / gitlab-integration

This extension integrates GitLab with Azure Pipelines. With this extension, you will be able to download the sources from a GitLab repository (using clone command) and use downloaded sources in Azure Pipelines
https://marketplace.visualstudio.com/items?itemName=onlyutkarsh.gitlab-integration
GNU General Public License v3.0
20 stars 5 forks source link

Integrate Gitlab to Azure Devops #34

Open yashika5122 opened 3 years ago

yashika5122 commented 3 years ago
  1. 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?
  2. 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?
  3. 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?
zhanqianwen commented 2 years ago

Hi @yashika5122 , I have the same questions as yours, did you get it sorted out?

yashika5122 commented 2 years ago

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-

  1. azures-pipeline.yml
  2. classic pipeline

Please share ,if you find some other way to implement this. Thank you.

zhanqianwen commented 2 years ago

Hi @yashika5122

Thank you for your answers! :-)