Summary
Your website's Bicep deployments sometimes failed because of problems you'd introduced in your Bicep files. You wanted to add quality control to your deployment pipeline to reduce the likelihood of any problems affecting your production website.
In this module, you learned how to add validation and tests to your Bicep deployment pipeline. You learned about multistage pipelines, and how to create pipeline stages to lint and validate a Bicep file. Then you learned how to add a preview stage to your pipeline, which runs the what-if command and asks for human verification before the pipeline continues. Finally, you learned about the importance of functional testing, and you added a test to verify that your website meets your security team's requirements after every deployment.
Now, you can be more confident that your automated deployments will succeed and that they won't cause problems for your environments.
References
- Shifting left
- Stages
- Pipeline artifacts
- Bicep linter
- Environments
- Pipeline approvals and checks
- Branch policies
- What-if operation
- Testing