Azure CI timed deploy

by on under sysadmin
1 minute read

Azure CI timed deploy

Azure DevOps aka VSTS Continuous Integration Pipelines.

This post has been sat around in my drafts for a long time. Anyway I thought I best post it before it becomes totally irrelevant due to Microsoft using more Config Driven Development.

TODO: Find the other term I cannot think of right now. Config Driven Orchestration?

Deferred deployments

This is one way to make a deployment happen at a given time. However it relies on you ensuring you check that box every time. Which is very easy to miss one day. Let alone if you have a team of people who are expected to do the same. Sooner or later someone will slip up as humans are human.

screenshot-1

A better way of doing timed deploys

Step 1 approval

screenshot-2

Step 2 deployment

This is the actual deployment step which isn’t triggered until the scheduled time is hit.

screenshot-3

Configurations

Approval task

screenshot-4

Approval task triggers

screenshot-5

Approval task job

screenshot-6

Deployment task

You will want to set a different scheduled time here. Normally later in the evening out of hours.

screenshot-7

Azure, CI, DevOps, Deployments, Pipelines
comments powered by Disqus