Azure DevOps pipelines for deploying infrastructure
In Chapter 3, in the Streamlining deployment through DevOps section, we learned that DevOps pipelines are made of stages. Each stage is made of steps. These steps can be a task or a script that is executed by an agent. In this section, let’s understand how to construct a DevOps pipeline for infrastructure deployments.
The first step is to create an Azure Pipeline service instance if you don’t already have one. This can be done by going to the Azure Pipelines landing page here: https://azure.microsoft.com/en-us/products/devops/pipelines/.
Click on Start free or Start free with GitHub based on your repository decision in the previous section:
Figure 6.2 – Azure Pipelines
As a part of the setup process, you will be asked to create an organization and a project (see https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/create-organization). Once a project is created...