Azure DevOps
Last Updated - Platform 21.0 - SDK 16.0At Poq we use Azure DevOps (ADO) for our CI/CD with YAML pipelines templated through our Poq.iOS.Tooling
repository.
Set up a new repository
New repositories created through PoqTooling's provisioning come with YAML pipelines within the .azure/
root directory.
Unfortunately ADO can only automatically detect a single root YAML pipeline named azure-pipelines.yml
.
To add the pipelines to the ADO dashboard:
- Login to your Azure DevOps account (you may have to ask for permissions to create pipelines).
- Navigate to the Pipelines page within the Pipelines section.
- Tap the New Pipeline button then select GitHub.
- Select your repository (you may need to change the dropdown from 'My Repositories' to 'All Repositories').
- Select Existing Azure Pipelines YAML file.
- Select the YAML pipeline file path then press Continue.
- Tap the drop down next to Run and choose Save.
- Tap the three dots where the Run button was then Rename/Move.
- Enter a better name and location then tap Save.
For Poq clients we use the following folder location \Poq\Client Name
and name Client Name - Pipeline reason
:
Template Client - ValidateTemplate Client - Create Simulator ArtifactTemplate Client - Upload to FirebaseTemplate Client - Upload to TestFlight
- Finally, run your PR validation pipeline against any branch so that CI picks up on it. You can then use this to set branch protection.
You have set up CI/CD using Azure DevOps for your app.
Next steps
- Revisit our GitHub set up guide.
- Check out our supplemental iOS tooling.