Skip to content

CI/CD pipelines

Backpack provides a default CI/CD pipeline for Azure DevOps.

New projects

When generating a new Backpack project, a fully functional CI/CD is included automatically. Make sure to add the .azure-devops/pipelines/ci.yml YAML pipeline through the UI of Azure DevOps. You can select Existing Azure Pipelines YAML file when creating a new pipeline from your Azure Repos Git repository and your pipeline will be ready to go.

To make sure your pipeline runs as a validation step for your Pull Request, go to the Project Settings or your repository and scroll down to the main branch on the Policies tab. Here you can add a Build Validation step.

Existing projects

Use the generate-pipeline command of the Backpack CLI to generate the brick-based CI/CD pipeline for Azure DevOps.

If you are unsure about switching, keep in mind that you can run it in parallel to your existing pipeline to try it out without any disruption.

Example pipeline

You can check out our Bookstore REST API for an example of a CI/CD pipeline.

API Management

Integration with the API Management portal is not yet included. We hope to include this later.