microsoft / azuredevopslabs

Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.
https://www.azuredevopslabs.com
MIT License
806 stars 904 forks source link

Release Pipeline Gates: Azure Policy Compliance question #622

Closed majorku5anagi closed 2 years ago

majorku5anagi commented 2 years ago

Hi! I have a question about the Release Pipeline Gates when they're set to check the Azure Policy compliance. Is there a way to perform pre-flight check on the ARM template from the Artifact (or Repo) before the actual deployment? Or pre-deployment Azure Policy gates are being used to check whether the resource group where the newly planned resource will land is "sterile"? And in case of post-deployment check it's to check if after the deployment all resources are in compliance?