Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pblocz-templates/azure-biceps-devops
https://github.com/pblocz-templates/azure-biceps-devops
azure azure-bicep azure-devops devops template
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pblocz-templates/azure-biceps-devops
- Owner: pblocz-templates
- License: mit
- Created: 2023-04-11T16:06:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-12T20:27:06.000Z (almost 2 years ago)
- Last Synced: 2024-07-29T17:04:38.350Z (6 months ago)
- Topics: azure, azure-bicep, azure-devops, devops, template
- Language: Bicep
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Bicep CICD Pipeline Template
This repository contains a template for an Azure DevOps pipeline that deploys Azure Bicep files following proper CICD steps.
## Repository Structure
- `biceps/`: Contains the main Bicep file for deployment.
- `.devcontainer/`: Contains configuration files for the development container.
- `.devops/`: Contains the Azure DevOps pipeline configuration and templates for various pipeline steps and jobs.
- `LICENSE`: The license file for this project.
- `README.md`: This file.## Usage
To use this template, you'll need to have an Azure DevOps account and a project set up. Then, you can create a new pipeline in your project and use the `bicep-deployment-pipeline.yaml` file as the pipeline configuration.
You can customize the pipeline by modifying the templates in the `.devops/biceps-modules/` directory. These templates define the steps and jobs for building, linting, validating, previewing, and deploying your Bicep files.
## Pipeline Stages
The pipeline is divided into several stages:
1. **Build**: In this stage, the Bicep file is built and published as an artifact using the `build-steps-template.yaml` template.
2. **Lint**: In this stage, the Bicep file is linted using the `lint-steps-template.yaml` template and checked for security issues using the `checkov-steps-template.yaml` template.
3. **Validate**: In this stage, the Bicep file is validated against a specified Azure subscription using the `validate-steps-template.yaml` template.
4. **DeployDev**: In this stage, a preview of the deployment is generated using the `preview-steps-template.yaml` template.
In this stage, a preview of the deployment is generated using the `preview-steps-template.yaml` template. Then, if all previous stages have succeeded and certain conditions are met (e.g., not a pull request), the Bicep file is deployed to a specified environment using the `deploy-jobs-template.yaml` template## License
This project is licensed under the [MIT License](LICENSE).