Azure DevOps

Last Updated - Platform 21.0 - SDK 16.0

At 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:

  1. Login to your Azure DevOps account (you may have to ask for permissions to create pipelines).
  2. Navigate to the Pipelines page within the Pipelines section.
  3. Tap the New Pipeline button then select GitHub.
  4. Select your repository (you may need to change the dropdown from 'My Repositories' to 'All Repositories').
  5. Select Existing Azure Pipelines YAML file.
  6. Select the YAML pipeline file path then press Continue.
  7. Tap the drop down next to Run and choose Save.
  8. Tap the three dots where the Run button was then Rename/Move.
  9. 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 - Validate
Template Client - Create Simulator Artifact
Template Client - Upload to Firebase
Template Client - Upload to TestFlight
  1. 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