Release Management For TFS

Post on 16-Jan-2017

143 views 0 download

transcript

TFS – RELEASE MANAGER VERSION (1.0)

MOUDLE NAME RELEASE MANAGER

SUBMITTED FOR

MIC

SUBMITTED BY

ARCOM

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 2

1. TABLE OF CONTENT

1. TABLE OF CONTENT ................................................................................................................... 2

2. TFS RELEASE MANAGEMENT ...................................................................................................... 3

OVERVIEW ................................................................................................................................. 3

DETAILED POINTS ...................................................................................................................... 3

DEPLOYMENT OVERVIEW .......................................................................................................... 3

3. CONFIGURAITON STEPS ............................................................................................................. 4

FIRST TIME CONFIGURATION ..................................................................................................... 4

RELEASE MANAGEMENT STEPS .................................................................................................. 4

3.1. ADMINISTRATION CONFIGURATION ............................................................................ 5

3.2. RELEASE PATH CONFIGURATION .................................................................................. 7

3.3. RELEASE TEMPLATE CONFIGURATION .......................................................................... 9

3.4. RELEASE EXECUTION CONFIGURATION ...................................................................... 10

4. TIPS / TRICKS ........................................................................................................................... 11

4.1. CONNECTION STRING COMPONENT [Configuration Variables] ................................. 11

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 3

2. TFS RELEASE MANAGEMENT

OVERVIEW

Release management is a continuous deployment solution

makes release cycles repeatable, visible and more efficient by automating

deployments through every environment from Team Foundation Server (TFS) until

production.

DETAILED POINTS

Release Management Components

1. Release Management Client:

Desktop application to manage release information

Web client is used to act on Approval Request

2. Release Management Server:

heart of release management components

Web and Windows Services that expose contracts used by all other

components

DEPLOYMENT OVERVIEW

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 4

3. CONFIGURAITON STEPS

FIRST TIME CONFIGURATION

RELEASE MANAGEMENT STEPS

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 5

3.1. ADMINISTRATION CONFIGURATION

3.1.1. SMTP server Configurations

3.1.2. TFS Connection Configurations

3.1.3. Configure Users

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 6

3.1.4. Configure Groups

3.1.5. Pickup List (Stages – Technology)

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 7

3.2. RELEASE PATH CONFIGURATION

3.2.1. Server Configuration

3.2.2. Environment Configuration

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 8

3.2.3. Release Path Configuration

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 9

3.3. RELEASE TEMPLATE CONFIGURATION

3.3.1. Release Path Build Definition

3.3.2. Release Path Build Definition

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 10

3.4. RELEASE EXECUTION CONFIGURATION

3.4.1. Start Release

3.4.2. Approve Release

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 11

4. TIPS / TRICKS

4.1. CONNECTION STRING COMPONENT [Configuration Variables]

4.1.1. Overview

create new component that copy values from release manager to

configuration file web.config using xcopy tool

4.1.2. Steps

1. Regular web Config app settings

2. Replace regular to release configuration variable syntax

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 12

3. Add New Component in release template in specific stage

4. Use Xcopy Tool

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 13

5. Add Configuration Variable with same name in web config

(Eg. DBNAME)

6. Add Component in Release Template Stage

TFS COURSE – RELEASE MANAGEMENT

العسكريةالصناعات – 6محاضرة

TFS – Release Management Page | 14

7. Write variable value in stage (Eg. Database name for test stage)

8. Final Result After Deploy the Release