Continuous Delivery With Team Foundation Server

13
CONTINUOUS DELIVERY WITH TEAM FOUNDATION SERVER February 24, 2015 DANIEL ȘTEFĂNESCU

Transcript of Continuous Delivery With Team Foundation Server

Page 1: Continuous Delivery With Team Foundation Server

CONTINUOUS DELIVERY

WITH

TEAM FOUNDATION SERVER

February 24, 2015

DANIEL ȘTEFĂNESCU

Page 2: Continuous Delivery With Team Foundation Server

WHAT'S IN A NAME?

CI, CD and CD

• Continuous IntegrationEvery code change integrates, builds, and tests within the

development environment.

• Continuous DeploymentEvery code change that passes the automated tests is deployed to

production automatically.

• Continuous DeliveryKeeps the deployment decision as a manual step.

TITLE PRESENTATION February 24, 2015

Page 3: Continuous Delivery With Team Foundation Server

WHAT'S IN A NAME?

Difference between

Continuous Delivery

Continuous Deployment

TITLE PRESENTATION February 24, 2015

Code Done Auto Unit Tests Auto Integrate AutoAcceptance

TestAuto

Deploy To PROD

Continuous Delivery thumb rule:Every checkin should be a release candidate but the release should be a political decision and done manually

Code Done Auto Unit Tests Auto Integrate AutoAcceptance

TestManual

Deploy To PROD

Page 4: Continuous Delivery With Team Foundation Server

WHY CONTINUOUS DELIVERY?

• What is the cost for your production system to be down due to

a rogue release or change?

• What is the cost of wait-time for Operations to release a new

feature into production?

• What is the cost of not having transparency of which software

version has been deployed to an environment?

• What is the risk factor of manual steps for a release?

TITLE PRESENTATION February 24, 2015

Page 5: Continuous Delivery With Team Foundation Server

QUICK TEST

Question:

If a stakeholder requests that the current development version

of the software can be deployed into production at a moment's

notice what would be the reaction?

CD enabled answer:

Nobody would bat an eyelid.

Non-CD enabled answer:

Panic mode on.

TITLE PRESENTATION February 24, 2015

Page 6: Continuous Delivery With Team Foundation Server

CONTINUOUS DELIVERY WITH TFS

Release Management for Visual Studio

The continuous delivery solution that automates the release

process through various environments all the way to production.

Topology• RM Server for TFS

• RM Client for Visual Studio

• Microsoft Deployment Agent

TITLE PRESENTATION February 24, 2015

Page 7: Continuous Delivery With Team Foundation Server

CONTINUOUS DELIVERY WITH TFS

Release Management Concepts

• Release Template

TITLE PRESENTATION February 24, 2015

Release Template

Release Path

Workflow TFS Build

Page 8: Continuous Delivery With Team Foundation Server

CONTINUOUS DELIVERY WITH TFS

Release Management Concepts

• Release Path

TITLE PRESENTATION February 24, 2015

Release Path

Stage

EnvironmentApproval Workflow

Page 9: Continuous Delivery With Team Foundation Server

CONTINUOUS DELIVERY WITH TFS

Release Management Concepts

• Workflow

TITLE PRESENTATION February 24, 2015

Workflow

Component

Release Input

Tools

Actions

Tools

Page 10: Continuous Delivery With Team Foundation Server

RELEASE MANAGEMENT - LICENSING

• Each person using the Release Management Client for Visual

Studio 2013 for creating, updating, or deleting a release

pipeline sequence must be licensed for either Visual Studio

Ultimate with MSDN, Visual Studio Premium with MSDN,

Visual Studio Test Professional with MSDN, or MSDN

Platforms.

• A user who only approves stages or signs off on a release

does not need to be licensed

• Target servers receiving automated deployment from Release

Management Server no longer require a Visual Studio

Deployment license.

February 24, 2015TITLE PRESENTATION

Page 11: Continuous Delivery With Team Foundation Server

RELEASE MANAGEMENT

• DEMO

– Setup

February 24, 2015TITLE PRESENTATION

Team Foundation Server

Build Controller/Agent

Release Management

Server

Release Management

Client

DEV

Web

• IIS

• RM Deployment Agent

Database

• MS SQL

• RM Deployment Agent

QA

Web

• IIS

• RM Deployment Agent

Database

• MS SQL

• RM Deployment Agent

Test AgentTest Controller

Page 12: Continuous Delivery With Team Foundation Server

WRAP-UP

February 24, 2015TITLE PRESENTATION

We’ll Never Get To Space on Horseback

Page 13: Continuous Delivery With Team Foundation Server

QUESTIONS?

Daniel Ștefănescu

+32 (50) 833333

[email protected]