World®’16
GMFinancialTransformsAppDeploymentswithCAReleaseAutomationand“GoldDeploymentStandards”NoraKennedy- WindowsSystemsApplicationEngineer- GMFinancial
DO5X09S
DEVOPS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
ABOUTGMFINANCIAL
PHASESMOVINGTORELEASEAUTOMATION
QUESTIONS
SHAREDCOMPONENTIMPLEMENTATION
TIPSANDSUMMARY
1
2
3
4
5
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AboutGMFinancial
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AboutMe
AUTOMATIONEFFORTS
GMFinancialforover3yearsonWindowsCriticalApplicationsTeam
Responsibleforthetoolsandtechnologiesrequiredtoensure
successfulserverenvironmentsandapplicationstability
Workedcloselyinwithdevelopmentteamstocreatestandardsincommonbusinesstoolsaswellashelpedarchitectautomatedcodebuildandscantoolingsystems
ArchitectedCAReleaseAutomationplatform
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
GMFinancial’sNeedforInfrastructureChange
RapidexpansioninnationalandIOoperationsledtonoticeableissuesintheenvironment
§ Knowledgegaps
§ Inconsistenciesinapplicationenvironments
§ Miscommunicationbetweenteamsintheorganization
Morecomprehensiveaudit and compliancerequirements
Lengthyprojecttimelinesandmissingdeploymentdates
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PhasesofReleaseAutomation
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PhasesofImplementingCAReleaseAutomation
AlmostnoautomationintheenvironmentandanythingautomatedwasdonebyPowerShellscriptsandinconsistent
SinglebusinessserviceimplementationforCAReleaseAutomationfromdevelopmenttoproduction
IntegratingCAReleaseAutomationintoNorthAmericanapplications
Collaboratingandintegrationapplicationswithinreleasepipeline
Pre-CAReleaseAutomation
ProofofConceptwithCAReleaseAutomation
ImplementingSharedComponents
ContinuousUpdates
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PhaseImplementationTimeline
TITLE OCT2015
NOV2015
DEC2015
JAN2016
FEB2016
MAR2016
APR2016
MAY2016
JUN2016
JUL2016
AUG2016
SEPT2016
OCT2016
NOV2016
DEC2016
Pre-CAReleaseAutomation
ProofofConcept
ImplementingShareComponents
ContinuousUpdates
NoAutomationinMostEnvironments
TestingRA
SettingupRAforMultipleEnvironmentIntegration
ContinuousDeploymentUpdates
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentsbyMonth—DramaticIncreasefromJanuary
0
500
1000
1500
2000
2500
January February March April May June July August September
DEPLOYMENTSBYMONTH
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
GMFinancial’sAutomatedSDLC
Design
DevdesignsBusinesscoderequest Build/Scan Test
CAServiceVirtualization
Perfecto
Deploy
CAReleaseAutomation
BusinessRequest
ApplicationServers
Developersubmitsrequest
forcodepackagetomovetoQA
CustomergetsProduct
Projectiscompleted
DeployingDEV/QA/TRN/PR
D
TestingQATicketssendtoQA
Movingtoreleaseautomation
CodeCheckedintoTFS
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SharedComponentImplementation
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatisaSharedComponent?
Enablesuserstocreatereusable,standarddeploymentworkflowsthatcanbesharedacrossamultitudeofapplicationsandenvironments
Reducestheamountofworkrequiredtocreatemultipleworkflowsforsimilardeployments
Helpsreduceerrorsinthedeploymentprocessbyensuringthatallteamsfollowthesameguidelinesforthedeploymentofstandardapplicationtypes
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ProcessforDefiningGoldenStandardsUsingSharedComponents
IDENTIFYDeterminewhatshouldbebrokenoutintoasharedcomponentbyanalyzingspecificreleaseneedsincompanyenvironment
STANDARDIZESetupstandardswithinsharedcomponentcreationprocess,aswellasdeploymentstandardsbetweenapplications
INTEGRATEImplementsharedcomponentsintoapplicationsusingcollaborationbetweenteams
UPDATEConstantlylookforimprovementsbyaskingforfeedback,analyzingcurrentdeploymentprocedures,androtatingresponsibilitieswithintheteam
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SharedComponentIdentify
§ Determinesimilarandrepeatableactions indeployment
§ Fitactionsintospecificcategories– Artifacttypedeployments:IIS,.NET,Tibco
BusinessWorks (javaapplication)– ReleaseIntegrationtasks:DEVTest,ServiceNow,F5
§ Outlinebasicfunctionsrequired§ Identifybestactions fordeployment§ Identifythenecessaryvariables foreachdeployment§ Communicatedeploymentstepsbetweenteamsthat
arepartofthereleaseprocesstogetfeedback
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SharedComponentStandardize
§ SetupartifactbuildintegrationtohaveastandardpackagebeforeitispushedintoCAReleaseAutomationwithapplicationslikeJenkins
§ Workwithotherteamstosetbestpracticesfordeployments
§ Limitsharedcomponentversions betweenCAReleaseAutomationapplicationstomaintainconsistencyinreleases
§ UsecommonnamesacrosssharedcomponentsinCAReleaseAutomationtoeasilyidentifyactionandflowsections– Foldernameslike‘Logging’includeloggingconfigurations– Parametervalueslikeenvironmentusingsimilarnameslike
‘service_account’forapplications
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SharedComponentIntegrate
§ Setupflowsthatwillbecomeprocessesforeasyonboardingofapplications
§ Testinalowimpactenvironmentwhenmakingchangesandthenexpandtoatrialgroupbeforepushingchangestoallapplications
§ Discusssharedparametervaluesbetweensharedcomponentsthatcanbeleveragedinapplications
§ Usesharedcomponentstointegratedeploymentcallsoutsideofcodereleases– AutomatedTest:DEVTest andPerfecto– DeploymentApprovals:ServiceNow
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SharedComponentUpdate
§ Rotateteammembersupdatingsharedcomponentstogetafreshperspective
§ Tagprocessesbeforeupdatingforeasyrollback§ Communicatechallengeswithsharedcomponentlayoutfor
brainstormingbetweenteammembers§ Requestfeedbackfromuserstoaddnewdeployment
functionsandfeatures§ Workasateamtoconstantlyimprovedeploymentprocesses
– Canwesetaflowtoperformerrorhandlingifadeploymentactionfails?
– Canwherecanwegetthebestlogsforadeploymenthavingissues?
– Canwegooffkeywordsinlogstoautomaticallyfixdeploymentissues?
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DeploymentTimesbyEnvironment
00:00.0
01:26.4
02:52.8
04:19.2
05:45.6
07:12.0
08:38.4
10:04.8
11:31.2
DEV QA PRD
Deployment…
AVERAGETIMESFORDEPLOYMENTSSUCCEEDED
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TipsandSummary
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TipsforaCAReleaseAutomationUser
WhatNOT todo
§ Overuseloopingindeploymentswithartifacts
§ Setenvironmentandattributeparametersindeploymentsthatarenotnecessary
§ Setupnon-repeatableprocessesinsideindividualapplicationdesign
§ Setupanenterpriseinstancewithoutanenterprisedatabase
Whattodo§ Setacentralservertocollectlogsandsend
notificationemails§ Setbrowserto90%zoom§ Leveragetokenvaluesforactionvaluesin
flows§ Usecommunitysitetoaskquestionsand
lookforpatchupdates§ UseCIapplicationsforintendedpurpose
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OutcomeofAutomationAsweincreasedstabilityinourenvironmentsourteamwasgivenmoreresourcestocontinuedevelopmenteffortsinCAReleaseAutomationallowingustoupdateandoptimizeourdeploymentprocesses.
PhasingAutomation
PhasinginautomationhelpedourteamevaluateCAReleaseAutomationinourenvironmentanddeterminebestpracticesforlong-termuse.
BenefitswithAutomationUsingCAReleaseAutomationhashelpedimprovesoftwaredevelopmentstabilitybycreatingrepeatableprocessestominimizeinconstanciesandshowvisibilityintothedeploymentpipeline.
SummaryUsingReleaseAutomation’ssharedcomponentfeatureallowsforrepeatableprocessesinsoftwaredevelopment.
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
DO5T03PLeadershipPanel:ContinuousDeliveryintheFinancialServicesIndustry 11/16/2016at04:30pm
DO5T14SAnalystKeynote:ContinuousDelivery:MakingDevOpsAwesome 11/17/2016at10:30am
DO5T19SGMFinancialBuildsaSustainable,Holistic,ContinuousDeliveryPractice 11/17/2016at04:30pm
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
MustSeeDemos
ModernizeAppDeliveryIntegratedCDTheater5- DOV501P
DeliverTestDataFasterTestDataManagerTheater5- DOV511P
DeliverBetterAppsServiceVirtualizationTheater5- DOV507P
OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DevOps– ContinuousDelivery
FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu