Avanade DevOps HOL - Lab 2 - Add QA environment and define your multi-stage continuous deployment process with approvals and gates
In this lab, we introduce a QA environment and setup our multi-stage continuous deployment process by adding approvals and gates.
Based on the following tutorials:
- Set up staging environments in Azure App Service
- Define your multi-stage continuous deployment (CD) process
First, let's define the QA environment:
-
Add a QA Deployment Slot to your App Service in Azure
-
Add a QA environment to your Release Definiton in VSTS
-
Configure the deployment step for the QA slot in the same App Service
-
Run a new Release
-
Review the new QA website is live on <yourappservice>-qa.azurewebsites.net
Use approvals and gates to control your deployment
-
Add pre deployment approval to control promotion from QA to Production
-
Add gate on 'Active Bugs' = 0
Continue with Lab 3 - Analysis with SonarQube.