Continuous Delivery

Once we have a successful build, we can move ahead to create a release definition to automate Continuous Delivery. A VSTS release definition can be used to define the tasks which should be executed sequentially to deploy a packages Service Fabric application to a cluster. Following are the steps to be followed to create a release definition:

  1. Browse to the VSTS portal and navigate to the Releases tab.
  2. Select the Create release definition menu item:
Create release definition
  1. Select Azure Service Fabric Deployment within the Deployment template category and click Next:
Select Azure Service Fabric template
  1. Select the already created build definition from the drop-down list, click on the check box to enable Continuous Deployment and click on Create:
Select project and build definition
  1. Add the Cluster Connection configuration:
Setting application package path and publish profile
  1. In the dialogue, give the cluster connection a name and add the Cluster Endpoint and click OK:
Add new Service Fabric connection

A release can now be triggered from the Releases tab manually to test the newly created release definition.

Now that we have explored a method of managing Continuous Deployment of application on Azure Service Fabric cluster, let's look into the options of running Microservices on other hosting platforms.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.170.83