50
World ® ’1 6 Getting Started with CA Release Automation Continuous Delivery Edition Andrew Cluttey - Principal Consultant, PreSales – CA Technologies D05X25L DEVOPS

Pre-Con Lab: Getting Started (and Hands-on) with CA Release Automation Continuous Delivery Edition

Embed Size (px)

Citation preview

World®’16

GettingStartedwithCAReleaseAutomationContinuousDeliveryEditionAndrewCluttey- PrincipalConsultant,PreSales – CATechnologies

D05X25L

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Isthevolume,quantityandcomplexityofreleasesfrommultipleorganizationscreatingnewbottlenecksinyourrapiddeliveryofapps?CAReleaseAutomationContinuousDeliveryEditioncanhelpyourorganizationpulltogetherallaspectsofanextensive,heterogeneousreleasepipeline.Itprovidesasinglecontrolpointtomanage,releaseandtrackcontentformultipleapplicationsacrossanynumberoforganizationsanddeployments.Inthisgettingstartedsession,youwilllearnhowtoplanmultiple,concurrentreleases,linkuserstoriesanddefects,resolvedependencies,manageconflictsandpromotecross-teamcollaboration.

AndrewClutteyCATechnologiesPrincipalConsultantPreSales

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

CHALLENGESFORCONTINUOUSDELIVERYPIPELINES

CREATEABASICRELEASE

QUESTIONSANDANSWERS

HANDSONLAB

MANAGINGMULTIPLERELEASES

HANDSONLAB

1

2

3

4

5

6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ChallengesforContinuousDeliveryPipelines

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ContinuousDeliveryEcosystem&Workflow

Writeuserstories(requirements)

Rightdatafortherighttestenvironment

Dev Test QA Prod

Continuousintegration(Build-Deploy-Test)

ContinuousDeliveryWorkflowBuild/deployment/promotiondashboardandreports

Adaptive,dynamicreleases Automated&manualtesting/testdata Deploymentworkflow,rollback,pre/posttasks

Automatedtestkick-off,tracking

Testingcoverage&progressreporting

Triggerbuild&deployinDev

Runbook

Deploymentautomation

Release&artifacttracking,environmentmgmt,baselining

Applicationknowledge

Linkapplication touserstories

ToDo Doing Done

ManageAuthorize

Triggerreleasedeployment

PlanReleases

PlanReleaseTrains

Promote

Definereleaseworkflow,gates&environments

Watchprogress(tracing,auditing,reporting)

Createreleasepackagewithbuild/deploy

status

Getappdefinition

ReleaseManagerProductOwnerBusinessUserScrumMaster

EnterpriseArchitect

Dev

Developers

QA

Test/QADeploymentManager

Customer

Implementcomponents

Defineapp:Components&versions

Infraprovisioning/environmentmgmt/PaaS/containerization/configurationmgmt

AgileCentral

Useapp

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NewPressurePointsintheContinuousDeliveryPipeline

Forward-lookingcompanieshavebeendesigning,developinganddeliveringappsmoreeffectivelytodramaticallyimprovethecustomerexperience……anduncoveringnewpressurepointsintheContinuousDeliverypipeline.

Complexmulti-levelapplications

Havingtobalancevelocityandquantity

Multipleteamsonmultipleprojects

Prioritizingthedeploymentofthe

rightcontent

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

QA/TEST PRE-PROD PRODUCTIONDEV

ZERO-TOUCHDEPLOYMENT

ContinuousDeliveryDynamicDuoZero-touchDeployment+AdvancedReleaseManagement

ContinuousDeliveryDashboardOPTIMIZEPIPELINE

CAReleaseAutomation

CAReleaseAutomationCDEdition PLAN&MANAGE

RELEASES

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Managingcomplexmulti-applicationreleases

CAReleaseAutomationContinuousDeliveryEdition

Providingkeyperformancemetricsallowingcustomerstocontinuallyimprovetheirreleasepipeline

Answeringthequestion,whatcontentisinwhatreleaseandwhereisitintheReleasePipeline

Openintegration,andafocusedsetofintegrationpointswithCAtoolsdeliveringaCAcontinuousdeliveryecosystem

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BuildingBlocksofaRelease

APPLICATIONSWhichapplicationsaregoingtobehandled?

WORKPLANWhatistheworkflowtobedoneineachphase?

TIMELINEWhenshouldeachphaserun?Dotheyconflict?

STAKEHOLDERSWhoarethepeopleparticipatingintherelease?

CONTENTWhichstories&bugsaregoingtobedelivered?

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreatingaBasicRelease

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationContinuousDeliveryEditionObjects

ApplicationContentIntegrationInternalorExternalContent

AgileCentral/JiraUserStories,Tasks,Defects/Bugs

Stakeholders

Owners,Members

Tokens

UserDefinedlast_successful_build

ReleaseReleaseName,VersionApplication,

Owners,Members

Phase/sPhasename,ownersmanual,auto,

Schedenvironments

Task/sTaskname,description,ownerstask

type

UserManagementGroups,UsersLDAP,AD,Internal

TracksTrackname,ownersproductiontime

frameMilestonesApplications

Plug-insReleaseautomation

JiraAgileCentral(RallyPlatform)

Rest1.0Jenkins

ServiceNowContains

Contains

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

HighLevelWorkflow

RunRelease

Defineusers/groupsConfigureendpoints

AgileCentral,Jira,RA,Jenkins,RestServiceNow

ImportRAapplications

Manage/viewoutput

CreateRelease/sAddApplication/slinkcontentforApp

CreatePhase/sManual,scheduled,automaticStart/endtimes,environment/s

Addtasks/typeManual,rundeployment,rest,

Jira,AgileCentral

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreatingaBasicReleaseLab

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:Releases>NewRelease

Enterdataasshownin

graphic:

ApplicationsexistinCA

ReleaseAutomation

ClickCreate

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:GCCoffeeApplications

SeteachApplicationsversion.

Content,(Jira,AgileCentral,

Internal),cannowbe

associatedwiththe

application.

ClickCheckmarktosave

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:Releases>GCCoffee>Phases

CreatePhaseName:Stage

Choose‘Stage’from

environmentdropdown.

Setfrom/to– Today/Tomorrow

Conflictgenerated:planned

dateisoutsidedefined

maintenancewindowsforthe

Stageenvironment

ClickCreate

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:Phase>Stage>Createtasks

Createtasksbasedondatain

table.Alltasksruninnumbered

sequence

Tip:Duplicate4th and5th tasks

from3rd taskbyhighlightingtask.

Changetaskspecificdata

andclicking

1st Task: 2nd Task: 3rd Task:

4th Task: 5th Task:

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:CheckYourDefinedTasks

Checkthatyourstageisidenticaltothesequenceinthegraphic.

Note:Sequenceisimplied,asshownbythegapbetweentasks.Iftasksneededtoruninparallel,youwoulddragthetasktowardsthetaskwhichneededtoruninparallel

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:CreateProductionPhase

Highlight‘stage’phaseto

duplicate

DuplicatePhase:Stagetocreate

Productionphase

Changeall‘stage’environment

referencestobe‘production’

ChangePhasetoAutomatic

Deletetask:Readiness

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:UpdateProductiontasks

Editalltasksinproductionphase

andmakesuretheir

environmentispointingtothe

‘production’environment

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:RunRelease

ClickthetoruntheStage

phase

Thereadinesstaskisjustan

exampleofusingamanual

runbooktask,inthiscaseto

confirmallreadinessforthe

release.

MarktheManualtaskas‘Done’

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabSteps:ConfirmYourReleaseWasSuccessful

Checkthatallthetasksrun

successfully.

TheReleasecanbemarkedas

done,whenithasbeendecided

thatitiscomplete.

Checktheactivitywindowfor

activitiesperformedduringthe

release

“Congrats”

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ManagingaCAReleaseAutomationContinuousDeliveryEditionRelease

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationContinuousDeliveryEditionOffersImportantContinuousDeliveryIntegrationPoints

CAReleaseAutomationContinuousDeliveryEdition

ALM

ContinuousIntegration

Testing

Provisioning

Deployment

ChangeManagement

ApplicationTracking

ReleaseExecution

ProductivityMetrics

ProcessImprovement

ConflictAvoidance

BusinessValue

§ CAReleaseAutomation

§ CAAgileCentral/Atlassian Jira

§ Jenkins

§ Rest

§ ServiceNow

§ CustomPlug-in

DATA&OPERATIONS

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatMakesUpTheContentsOfARelease§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsiteConfigureEndpoints

DefineinternalAppsandimportRA

Appsfromdefinedendpoint/s

DefineRelease,Phase,Taskandlink

associateduserstories,issuesetcto

individualappswithineachrelease

AgileCentralUserStories Task

Defects

JiraIssues

PluginsRunDeploymentRunProcess

JiraAgileCentralServiceNow

RestManual

Phase:Stageestimated start/enddatesSelectAppEnvironment

Task1RunDeployment:App1

Linkcontent

Task2RunDeployment:App2

Linkcontent

Task3RunDeployment:App3

Linkcontent

Task4JiraAdd/Update/CreateIssues

Task5AgileCentralTask/DefectUpdateChecktest

caseresults

Task6Rest– Get.Post.PutDelete,patch,head

Task7Manual

Task8ServiceNow – create/updatetask

Create/updateChg ReqWaitforapproval

Phase:Productionestimatedstart/enddatesSelectAppEnvironment

Task1RunDeployment:App1

Linkcontent

Task2RunDeployment:App2

Linkcontent

Task3RunDeployment:App3

Linkcontent

Task4JiraAdd/Update/CreateIssues

Task5AgileCentralTask/DefectUpdateChecktest

caseresults

Task6Rest– Get.Post.PutDelete,patch,head

Task7Manual

Task8RunProcess

Release AApp1,App2,App3

OwnersLinkContenttoApplication

contains

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PluginCapabilitiesinCAReleaseAutomationContinuousDeliveryEdition

RunDeployment RunProcess Manual Rest

RunRAdeploymentsutilizingall RAintegrations.

UsedtorunindividualRAprocesseswithouttyingto

adeploymentplan

Addanymanualrunbooktasksand/oranymanualdecisionneededforthe

phase

Usedtoautomateanytasksnotcovered byastandardpluginand

supportsRest

AgileCentral

LinkAgile Centralcontent,aswellasupdatingtask/defectstatus

and/orcheckingtestcaseresults

ServiceNow

Create/update ServiceNowtaskorChangeRequest.

WaitforSNOWapproval

Jira

LinkJira content,aswellasruntaskstoadd/updateorcreate

issues

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationCDEdition– ContinuousDeliveryMetrics

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationContinuousDeliveryEdition

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationContinuousDeliveryEdition

AgilelyManageComplexityofCross-ApplicationReleases

ReleaseA

ReleaseB

ReleaseC

ContinuousDelivery

Story1

Story2

Story3

Story4

Storyn

§ Releaseandtrackstoriesindependentlyorgroupedbasedonbusinessrequirements

§ Mapcustomerfeedbacktouserstories,featuresandbugfixesmovingthroughthereleasepipeline

§ Gainvisibilityofandreconciledependencies

Manageandmonitormulti-applicationcontentthroughthereleasecycle

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAReleaseAutomationContinuousDeliveryEditionReleaseTracksEnableVisibilityandGovernanceofKeyReleaseswithinLargeEnterpriseReleases

ReleaseA

ReleaseB

ReleaseC

Story1

Story2

Story3

Story4

Storyn

Manageandmonitormulti-applicationcontentthroughthereleasecycle

ReleaseTrack1

Groupandmanagereleasestoacommonreleasecycle&scheduleortofulfilldependencies

UseReleaseTrackstodrivecadenceofreleases

deliveredtoproduction

ContinuousDelivery

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DynamicReleasePipelineTasks§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsitePipelineshavetobedynamic!!!

Forexampleinamultiapprelease,one

appdeploymentfails,youneedtobeable

to:

Rerunjustthatdeploymenttask,skipthat

task,runthewholephaseagain,skipthe

restofthephaseetc.etc.

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

UnderstandingYourReleaseDates§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsite

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EndtoEndTraceabilityAcrosstheReleasePipeline§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsite AssociateCDE

Application task

ToContent

DefineCARelease

AutomationCDEdition

(CDE)Release

LinkJira/AgileCentral

ContenttoCARelease

Automation(RA)

ApplicationinCDE

Jenkinsbuildtriggers

CDERelease fornamed

App

CDEContentReportshowswhatcontent

deliveredinrelease

CDEApplicationReport

showsdeploystatus

RAdeploys build. Artifact

Managementin RAhasbuildnumber

1 2 3

4 5 6

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EndtoEndTraceabilityAcrosstheReleasePipeline§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsite

2 31

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

EndtoEndTraceabilityAcrosstheReleasePipeline§ InstallerchecksforJDKandpromptsforTomcatinstallationfolder

§ DownloadfromCAsupportsite

45

6

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ManagingCAReleaseAutomationContinuousDeliveryReleases- Lab

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ManageaCAReleaseAutomationContinuousDeliveryReleasePlaceholder

RunRelease

ConfigureApplicationContent

Checklast_successful_build

CreateServiceNowticket

Manage/viewoutput

InspectCalendarandconflicts

AddReleasetoTrack ConfigureReleasetasks

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ConfigureApplicationContentStep1,Step2,Step3etc

40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:CheckJenkinsintegrationStep1,Step2,Step3etc

41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ServiceNowticketStep1,Step2,Step3etc

42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ManageCalendarStep1,Step2,Step3etc

43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ManageCalendarStep1,Step2,Step3etc

44 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ConfigureReleaseTasksStep1,Step2,Step3etc

45 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:RunreleaseStep1,Step2,Step3etc

46 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Labsteps:ManageOutputStep1,Step2,Step3etc

47 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

48 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO5T21PKeynote:End-to-EndIntegratedContinuousDeliveryEcosystem:HowtoDriveInnovationandDifferentiation

11/16/2016at10:30am

DO5T02PLeadershipPanel:DevOpsLeadersDiscusstheJourneytoContinuousDelivery

11/16/2016at01:45pm

DO5T14SAnalystKeynote:ContinuousDelivery:MakingDevOpsAwesome

11/17/2016at10:30am

49 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ModernizeAppDeliveryIntegratedCDTheater5- DOV501P

DeliverTestDataFasterTestDataManagerTheater5- DOV511P

DeliverBetterAppsServiceVirtualizationTheater5- DOV507P

OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.50 @CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu