Continuous Delivery
Continuous Delivery is the practice of deploying a package into a non-production environment in an automated manner.
Once our Continuous Integration process is completed successfully, we can deploy a package using the Continuous Delivery practice in an automated way.
- Click on the
Releases
in VSTS.
- Click on
New definition
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/5b55d8a6-c4df-4863-b826-f2ec58433fd8.png)
- Select the
Azure App Service Deployment
template and click onNext
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/43b14f65-ae59-41d0-b6a5-31cd9d9b7e5f.png)
- Select the
Project
andBuild
definition that we created in the previous section. - Select the Continuous Deployment checkbox.
- It means that whenever the associated Build definition is successfully executed, release definition will be triggered automatically. Click on
Create
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/5c8da75c-3a10-43e8-bcab-50d0ec24c89a.png)
- The new Release definition is ready.
- Let's configure it.
- We need to configure Azure Subscription first.
- Click on
Manage
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/8d9f714a-c6b1-4391-ab44-fb11ce5f7b39.png)
- Click on
New Service Endpoint
. - Select new
Azure Resource Manager
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/56cea513-a94c-4dc2-9f31-8eef24fb31a6.png)
- Provide a
Connection name
and selectSubscription
:
![](https://static.packt-cdn.com/products/9781787122932/graphics/2344eba0-b397-425c-b352-2eb3aa21ee25.png)
- Verify the newly created endpoint:
![](https://static.packt-cdn.com/products/9781787122932/graphics/b9205e58-2a03-4a8b-b11a-c8c51983accd.png)
- Go to the
Release Definitions
. Refresh the list of Azure subscriptions...