Automated Deployments Using Release Manager
Share this post
So far in this activity, you discovered the concept of release management, Release Management as a service in Visual Studio Team Services and how to create Release Management workflows.
In this video, we will build on the infrastructure that we provisioned with an Azure resource group template that we created within Visual Studio. Here, we will layer our application on top of our newly provisioned infrastructure.
Creating Automated Deployments with Release Manager
Before we get started, it is useful to look at the infrastructure that we provisioned. From within Visual Studio Team Services, you will see the resource group that we created. This resource group should have our database, the app insights and a hosting plan associated with it.
You will notice that the contents have not been rolled out to the website and the database is pretty empty.
To get started, from within the build pipeline, you can add a couple of tasks. The first task that you will add is the Azure App Service Deploy task. You will find this task by selecting Add Task and searching for Azure Web.
You can take the deploy artefact that we provisioned earlier on and specify that you are looking for the .zip part in the artefact.
You will notice the WebApp parameter that we generated by running a script, we queried the resource group and looked for the Microsoft.Web.sites resource and saved it as a variable.
Here, you will specify the Azure endpoint where the database needs to deploy to. We created a script that queries the resource group and obtains the type and the name of the resource.
Once you have indicated all the additional parameters, you can save your build. This may take some time, after which you can review the process.
Remember to engage with your peers – ask a question, leave a comment or share an experience. When you are ready to move on, click on Mark as complete and we will continue to our next step which is From Continuous Delivery to Continuous Deployment.
Share this post
Microsoft Future Ready: Continuous Integration Implementation

Microsoft Future Ready: Continuous Integration Implementation

Our purpose is to transform access to education.
We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.
We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.
Learn more about how FutureLearn is transforming access to education
Register to receive updates
-
Create an account to receive our newsletter, course recommendations and promotions.
Register for free