Episode

Automate your Azure deployments by using Bicep and GitHub Actions Ep03: Test your Bicep code by using GitHub Actions

with Chris Reddington, John Downs, Mauro Contreras

Validate and test your Bicep code in your deployment workflow. You'll use linting, preflight validation, and the what-if operation to validate your Azure changes before you deploy, and you'll test your resources after each deployment.

Learning objectives

  • Add Bicep code linting during continuous integration
  • Add preflight deployment validation during build or release jobs
  • Add what-if checks, including manual approval steps
  • Verify the configuration of the deployed environment

Chapters

  • 00:00 - Introduction
  • 03:16 - Learning objectives
  • 04:28 - Example scenario
  • 06:00 - Understand workflow jobs
  • 14:22 - Demo - controlling the sequence of jobs
  • 23:55 - Building and linting bicep code
  • 25:49 - Linter warnings and errors
  • 27:13 - Preflight validation
  • 29:02 - Add and validate jobs to your workflow
  • 37:38 - Preview and approve your deployment
  • 51:27 - Test your resources after deployment
  • 58:41 - Exercise - add a test job to your workflow
  • 01:14:11 - Knowledge check
  • 01:20:33 - Summary and conclusion

Connect

Intermediate
Administrator
Developer
DevOps Engineer
Azure Resource Manager
GitHub

Have feedback? Submit an issue here.