In this post, I will share my study notes that I took while preparing for the exam Azure AZ400 “Develop deployment scripts and templates”.
Recommend a deployment solution (e.g. GitHub Actions, Azure Pipelines, Jenkins, CircleCI, etc.)
Azure DevOps has a visual classic editor that allows configuring deployment stages.
A great walkthrough into its features is in this lab:
Embracing Continuous Delivery with Azure Pipelines
Home / Embracing Continuous Delivery with Azure Pipelines In this lab, you will learn about the release management…
Each stage has two configurable menus:
- pre-deployment conditions
- post-deployment conditions
Pre-deployment conditions allow defining triggers, approvals or gates.
Triggers come with three options:
Approvals allow defining who should manually approve a deployment and how long should be possible to wait for approval before discarding the deployment.
Gates allows to automatically checks for conditions that would block a deployment.
The equivalent of Azure DevOps releases in the GitHub world is Actions.
How do I use GitHub Actions to create workflows for CI? - Learn
Here, you learn about GitHub Actions and workflows for CI. You'll learn to: Create a workflow from a template…
The following retention policies are available in Azure DevOps in your Project settings:
Pipeline — Set how long to keep artifacts, symbols, attachments, runs, and pull request runs.
Release (classic) — Set whether to save builds and view the default and maximum retention settings.
Test — Set how long to keep automated and…