Configure Pipelines as Code with YAML

Completed

Estimated time: 60 minutes.

Lab files: none.

Scenario

Many teams prefer to define their build and release pipelines using YAML. This allows them to access the same pipeline features as those using the visual designer but with a markup file that can be managed like any other source file. YAML build definitions can be added to a project by simply adding the corresponding files to the repository’s root. Azure DevOps also provides default templates for popular project types and a YAML designer to simplify the process of defining build and release tasks.

Objectives

After completing this lab, you'll be able to:

  • Configure CI/CD pipelines as code with YAML in Azure DevOps.

Requirements

Exercises

During this lab, you'll complete the following exercises:

  • Exercise 0: Configure the lab prerequisites.
  • Exercise 1: Configure CI/CD Pipelines as Code with YAML in Azure DevOps.
  • Exercise 2: Configure Environment settings for CI/CD Pipelines as Code with YAML in Azure DevOps.
  • Exercise 3: Remove the Azure lab resources.

Screenshot of a launch button, which will take you to the lab.