Modern Software Engineering

W24 Creating Reusable CI/CD with Azure DevOps Pipeline Templating

08/09/2023

4:00pm - 5:15pm

Level: Advanced

Josh Johanning

Senior DevOps Architect

GitHub

Do you find yourself copy and pasting the same YAML code between all of your pipelines in Azure DevOps? Reuse a lot of the same variables in different pipelines? With the power of templating, we can be a lot more efficient here. In this session, I will discuss each type of template we can use such as stage, job, step, and variable templates. I will also show how to do more advanced template tasks, such as looping, with template expressions.

You will learn:

  • About Azure DevOps / Azure Pipelines templates
  • Best patterns for use (versioning, parameters, etc.)
  • Advanced templating syntax