https://github.com/pppw/azure-bicep-cicd-examples
https://github.com/pppw/azure-bicep-cicd-examples
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pppw/azure-bicep-cicd-examples
- Owner: PPPW
- License: mit
- Created: 2023-09-11T15:16:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T14:52:50.000Z (almost 3 years ago)
- Last Synced: 2025-02-08T09:37:37.569Z (over 1 year ago)
- Language: Bicep
- Size: 152 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Bicep CI/CD Pipeline Example
This repo provides some examples CI/CD Pipelines for infrastructure-as-code on Azure with Bicep. Although people are generally more familiar with testing frameworks for the application code, it is not very clear how to test the infrastructure code. As a result, the Bicep changes are sometimes deployed to production without any testing. We made this doc for the best practices with steps:
[Bicep CI/CD Handbook](https://azure.github.io/bicep-cicd-handbook/)
This repo has two example pipelines:
- CI Pipeline: performs linting, template validation. You can also do unit test by [PSRule](https://github.com/microsoft/PSRule), which simulates ARM for validations.

- CD Pipeline: deploys to different stages. Before deploying to prod, we run "what-if" and display the changes in the Pipeline web UI and wait for manual approval.

Note: the code in this repo is now moved to [bicep-cicd-starter](https://github.com/Azure/bicep-cicd-starter).