ait gmbh & co. kg · 4 2 3 1 agenda devops –yet another new term? release management within...

37
Thomas Rümmler | AIT GmbH & Co. KG Christian Schlag | AIT GmbH & Co. KG Central Build and Release Management with TFS

Upload: others

Post on 28-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

Thomas Rümmler | AIT GmbH & Co. KG

Christian Schlag | AIT GmbH & Co. KG

Central Build and

Release Management with TFS

Page 2: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

2AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 3: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

OUR DAILY MOTIVATION

“It’s hard enough for software developers to write code

that works on their machine. But even when it’s done,

there’s a long journey from there to software that’s

producing value – since software only produces value

when it’s in production.”

Martin Fowler

3AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 4: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

4

2

3

1

AGENDA

DEVOPS – YET ANOTHER NEW

TERM?

RELEASE MANAGEMENT WITHIN

MS TOOL LANDSCAPE &

NEWS IN BUILD PROCESS

TEMPLATES WITH TFS 2013

RELEASE PROCESS &

ROUNDTRIP EXAMPLE

BENEFITS OF RELEASE

MANAGEMENT &

CONCLUSION

Page 5: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

YET ANOTHER NEW TERM?

DEVOPS

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 5

Page 6: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

DEVOPS – YET ANOTHER NEW TERM?

6AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 7: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

DEVOPS – YET ANOTHER NEW TERM?

7AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Running Application

Operations

QA

Dev

Page 8: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

DEVOPS – YET ANOTHER NEW TERM?

8AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 9: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

IN THE MS TOOL LANDSCAPE

RELEASE MANAGEMENT

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 9

Page 10: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

11AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

ALM OVERVIEW WITH TFS

Page 11: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

CONTINUOUS VALUE – PROCESS

PERSPECTIVE

REQUIREMENTS

BACKLOG

RELEASE

OperateConstruct

WORKING SOFTWARE

Build | Measure | Learn

Collaborate

PlanAgile portfolio management

Kanban customization

Work item tagging

OperateVisual Studio and

System Center

integration

Performance events

DevelopTeam Room

Git

Code Information Indicators

.NET memory Dump Analyzer

Load Testing as a Service

Integrated release

management

Release

Configuration-based

deployments

Page 12: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

DEPLOYMENT COMPLEXITY

13AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Fullyconfigurable

workflow withRelease

Management for Visual

Studio

Workflow

Deploymentautomation

triggered byan

automationframework,

i.e. TFS ASAP

Automations

Deploymentscript

triggered bybuild process

Scripting

Source: http://msdn.microsoft.com/en-us/library/dn217874.aspx

Page 13: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

MSBUILD VS. TEAMBUILD VS.

RELEASE MANAGEMENT

14AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Release Management

TeambuildWorkflow

MSBuild

Page 14: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

WITH TFS 2013

NEWS IN BUILD PROCESS TEMPLATES

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 15

Page 15: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

TEAMBUILD - NEW FEATURES

16AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

GIT support

Output location is configurable

Script support (e.g. PowerShell) before and after Build and Test

step

Build results can be stored in Source Control; downloadable as

zip file

Standard templates stored centrally

Windows 8.1 App support

Page 16: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

COMPARISON - BUILD PROCESS

TEMPLATE

Page 17: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

CUSTOMIZING A BUILD PROCESS

TEMPLATE - MSBUILD

Page 18: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

CUSTOMIZING A BUILD PROCESS

TEMPLATE - WORKFLOW & MSBUILDTfvcTemplate.12.xaml

Microsoft.TeamFoundation*.dll

CreateWorkspace WriteMessage MSBuild

BindingObjects.csproj

Microsoft.CSharp.targets

….targetstarg

ets

CustomLogging Task

CustomToolCall Task

tasks

Page 19: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

22AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

CUSTOMIZING A BUILD PROCESS

TEMPLATE - WORKFLOW

CustomTemplate.xamlTfvcTemplate.12.xaml

Microsoft.TeamFoundation*.dll

CreateWorkspace WriteMessage MSBuild

CustomActivities.dll

CustomLogging CustomToolCall …

Page 20: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

WITH TFS 2013

RELEASE PROCESS

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 23

Page 21: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

OPTIMIZING THE RELEASE CYCLE

24AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

DEV QAINT PRODTeam Foundation

Server

Coordination

Testing time

ProvisionDeploy

Page 22: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

RELEASE PROCESS

25AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 23: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

RELEASE CYCLE

26AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 24: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

STAGE

RANK

27AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 25: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

ARCHITECTURE

28AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Team Foundation Server Drop Location

RM ClientRM Web

QA

DEV

RM Server

Page 26: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

ROUNDTRIP EXAMPLE

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 29

Page 27: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

BASIC SCENARIO

30AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Ronald

Releasemanager

C:\Apps\DevC:\DropMySolution Ronald

Releasemanager

C:\Apps\Prod

Page 28: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

DEMO - BASIC SCENARIO

Page 29: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

LICENSING

32AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Team Foundation Server Drop Location

RM ClientRM Web

QA

DEV

RM Server

Create, update, delete

a release sequence

VS Ultimate with MSDN,

VS Premium with MSDN,

VS Test Professional with MSDN or

MSDN Platforms

Triggering the release

pipeline sequence Team Foundation Server CAL

No license required

Approve stages or

to sign off on a release

Visual Studio

Ultimate

includes a

license for two

deployment

endpoints

(environments)

Page 30: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

BENEFITS OF RELEASE MANAGEMENT

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 33

Page 31: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

GOALS

34AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

More productive employees

Improve quality of

software in production

Faster time to market

Page 32: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

BENEFITS OF AUTOMATION

Minimizing of monotonous work

More time for creative work

Automated tasks are faster than manual tasks

Improvement of quality

In the long run: automated processes cost less than manual

processes

35AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 33: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

CONCLUSION

AIT GmbH & Co. KG – Ihre Software effizienter entwickelt. 36

Page 34: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

SUMMARY

Pros

Another gap in ALM with TFS closed

Powerful tool

Full traceability

Not fully integrated, yet

Some difficulties in detail

Cons

Good starting point

Deploy to production might not be suitable for all customers

37AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 35: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

ADDITIONAL TOPICS

Outlook:

Security concept

Execute tests with Release Management

Configuration of tokens (dealing with different settings on

each environment)

Deploy to Azure

Whats happened since RTM version?– Improvement in integration of external build deliveries

– Server tags - Copy & Paste of Workflows is no longer required

– Shipping with Update 3: Support of Desired State Configuration (DSC)

39AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 36: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

REFERENCES

Jim Lamb, http://blogs.msdn.com/b/jimlamb/archive/2010/06/09/windows-workflow-vs-msbuild-

in-tfs-2010.aspx

Dev2Ops, http://dev2ops.org/2010/02/what-is-devops/

Release Management Licensing, http://www.visualstudio.com/en-us/products/how-

to-buy-release-management-vs.aspx

Release Management Blog, http://www.incyclesoftware.com/blog/

Using PowerShell DSC in Release Management: The Hidden Manual, http://www.colinsalmcorner.com/post/using-powershell-dsc-in-release-management-the-

hidden-manual

TFSBlog, http://www.tfsblog.de/

TFS ASAP, http://tfsasap.com/; http://blog.aitgmbh.de/2014/09/24/a-simple-and-secure-way-to-

deploy-test-and-release-versions/

41AIT GmbH & Co. KG – Ihre Software effizienter entwickelt.

Page 37: AIT GmbH & Co. KG · 4 2 3 1 agenda devops –yet another new term? release management within ms tool landscape & news in build process templates with tfs 2013 release process &

44AIT GmbH & Co. KG – Ihre Software effizienter entwickelt

WIR UNTERSTÜTZEN SIE

[email protected]+49 151 55052628

AIT GmbH & Co. KGLeitzstr. 45, 70469 Stuttgart

www.aitgmbh.de

BERATUNGAgile ALM und TFS

.NET und Architektur

ENTWICKLUNGDienstleister für individuelle

Lösungen mit .NET und Azure

© AIT GmbH & Co. KG – Alle genannten und gezeigten Marken oder Warenzeichen sind eingetragene Marken oder eingetragene Warenzeichen ihrer jeweiligen Eigentümer

und ggf. nicht gesondert gekennzeichnet. Aus dem Fehlen der Kennzeichnung kann nicht geschlossen werden, daß es sich bei einem Begriff oder einem Bild nicht um eine

eingetragene Marke oder ein eingetragenes Warenzeichen handelt.

[email protected]+49 151 55052630