Develop deployment scripts and templates

Alberto De Natale
7 min readSep 13, 2021

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:

Layout

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.

Retention

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…

Alberto De Natale

Alberto De Natale is a passionate tech-enthusiast software developer.

Recommended from Medium

Lists

See more recommendations