Thursday, 23 October 2014

Demo Release Template for VS 2013 Release Management – Part 1

Release Template defines how the deployment happens in the Release Path in VS 2013 Release Management. Downloading build output to deployment machine, installation of various software components in different machines in the environment, setting up configurations, parameters etc., rollback deployment on failure are few of the actions executed as defined in a release template. Different deployment sequence can be defined for each stage of the release path.
To define a release template Click New on Configure Apps tab of the VS Release Management Client.
001
Provide a name for the release template
002
Select the Release Path
003
Since the TFS is integrated with the release management server, we can select a build definition that can be used to obtain the deployment package/payload.
Select the Team Project
004
Then select the build definition which is generating output.
005
The  purpose of “Can Trigger a Release from a Build” is to allow triggering a Release from the TFS build. But this requires some additional steps in Build templates and definitions which I will explain in a future post.
Security tab can be used to configure following permissions for Release Management users or groups.
006
View – Can view this Release Template
Edit – Can edit this Release Template
Can Release – Can trigger a release using this Release Template
Manage Security – Can edit permissions for this Release Template
Click on Create to save the release template
007
The above shown window can be opened by clicking the properties link below and edit the properties of release template after creation.
008
Since our release path had three stages DevInt, QA and Prod we can define a deployment sequence for each of these stages.
009
You can see the tags we have defined in each environment appears in left toolbox under tags. Since we are using the same server machine for this demo there is only one and same server in each stage.
010
In the second part of this post, I will explain how to define a simple deployment sequence.

No comments: