Norway


Configure Continuous Delivery for App Service  - Configure Continuous Delivery for App Service - Setting up Continuous Delivery for Azure App Services from Azure Portal

Continuous Integration(CI) & Continuous Delivery(CD) capabilities allow us to establish an end-to-end delivery platform that enables rapid development & deployment of software system repeatedly with minimal manual work. In the previous post – Quickly setup everything you need for develop, deploy and monitor your solution on Azure – Using Azure DevOps Project, we have seen how quickly and easily setup an end-to-end development to delivery pipeline from the scratch using the Azure DevOps Project. In this post, we will explore how can setup Continuous delivery for an App Service directly from the portal.

From the Azure Portal, Navigate the specific App Service for which you want to configure the Continuous delivery, and then select “Continuous Delivery (preview)” option available for the App Deployment.

Configure Continuous Delivery for App Service  - Configure Continuous Delivery for App Service - Setting up Continuous Delivery for Azure App Services from Azure Portal

Configure Continuous Delivery for App Service

Click on “Configure” to initiate the configuring your Continuous Delivery Process.

In the next step, you need to validate your App Repository / Provide the repository details and also required to select the application framework.

 

Configure Continuous Delivery for App Service - Details  - Configure Continuous Delivery for App Service Details - Setting up Continuous Delivery for Azure App Services from Azure Portal

Configure Continuous Delivery for App Service – Details

If you have automated tests to run as part of the and deployment process, you can also configure the same here. App Service Continuous Delivery configuration allows us to select deployments slot during the app service configuration itself.

Creating Deployment Slots  - Creating Deployment Slots - Setting up Continuous Delivery for Azure App Services from Azure Portal

Creating Deployment Slots

 

You can either create a new deployment slot or choose an existing one for the deployment.

Once done, the finally initiate the creating the pipeline.  It will take a while to up the overall process during which Azure will configure all the required resources including creating deployment slots, provisioning builds and release definition and initiating a build. You can see all the in the summary dashboard post completion the overall process.

App Services Configured for Continuous Delivery  - App Services Configured for CD - Setting up Continuous Delivery for Azure App Services from Azure Portal

App Services Configured for Continuous Delivery

Well! You end to end build and deployment pipeline is .

Clicking on the Build Definition, Release definition will take you the linked VSTS account. You can then go ahead and further edit them.

If you edit and review the release definition, you will find it is getting deployed to Staging First, and then it will be a slot swap between staging and production.

Release Definition  - Release Definition - Setting up Continuous Delivery for Azure App Services from Azure Portal

 

In an actual environment, you may like to avoid the auto swap and having a pre-deployment approval process before you proceed to production.

Pre Deployment Approval  - pre deployment approval - Setting up Continuous Delivery for Azure App Services from Azure Portal

Pre Deployment Approval 

You may read my article  – DevOps for Bots – Rapid Development, Continuous Integration and Delivery (CI/CD) with Azure Bot Service & Visual Studio Team Services (VSTS) for a deep dive on Continuous Delivery and Release management.

Hope this helps!



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here