YAML release pipelines with Azure DevOps
A recently added feature of Azure DevOps is the option to define release pipelines by using YAML (previously, this was possible only for the CI part). This is now possible by using multi-stage pipelines and with that, you can use a unified YAML experience for configuring Azure DevOps pipelines for CI, CD, and CI/CD.
Defining the release YAML pipeline can be done exactly as described in Chapter 4, Understanding Azure DevOps Pipelines. There are, however, some concepts to understand, such as environments.
Environments are a group of resources targeted by a pipeline – for example, Azure Web Apps, virtual machines, or Kubernetes clusters. You can use environments to group resources by scope – for example, you can create an environment called development with your development resources and an environment called production with the production resources. Environments can be created by going to the Environments section under Pipelines...