2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21...
Transcript of 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21...
![Page 1: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/1.jpg)
Deployanywhere:orchestratingtheDevOpstoolchainwithJenkinsPipelineLinLi(Lily)2017.11.11
![Page 2: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/2.jpg)
• AgileandDevOpsTransformation
• DevOpsToolchain
• ImplementationCI/CDwithJenkinsPipeline
• Q&A
u AGENDA
![Page 3: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/3.jpg)
3
Who are we: since 1939Build,Operate,&SecureEnterpriseSoftware
![Page 4: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/4.jpg)
Webuildenterprise-gradescalablesoftwarewithanalyticsbuiltin
4
![Page 5: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/5.jpg)
DevOpstransformationalignmentwithScaledAgileFramework
5
![Page 6: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/6.jpg)
DevOpstransformation: impacts theR&D&DevOpspractices andoperation
6
2nd Service FourthService
SuiteStrategy AgilePractices ContainersMicroservices
CrossSuiteExecutionDependencies
Continuous IntegrationDelivery&Demo
StandardsforSecurity,Quality&Compliance
![Page 7: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/7.jpg)
AglanceofProjects
7
2nd Service FourthService
ProjectA
LegacymaintainComplexbuildchainToolmigration
ProjectB
Micro-service600+JenkinsjobRe-organizationTransition
ProjectC
KubernetsContainerizedCloudCross-teamworkintegration
12months
6months
3months2weeks
![Page 8: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/8.jpg)
8
Product Suite
150+ commit/day150+ CI builds/day10 Version promotion/wk
Chamber
Service: 1448 UI test, 2000 API,26788 UT/buildSuite: 442 suite case/build
6 products/20+ services120+ Git repos140 Docker image145 running pods
Data FileRelease: 2017.10Feature scope:6899Capacity: 5815No. of features: 217Complexity level: 5Challenging level: 5
180+ engineers21 Scrum teams3 ARTs
![Page 9: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/9.jpg)
• AgileandDevOpsTransformation
• DevOpsToolchain
• ImplementationCI/CDwithJenkinsPipeline
• Q&A
u AGENDA
![Page 10: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/10.jpg)
OrchestrationoftheDevOpstoolchain
10
2nd Service FourthService
![Page 11: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/11.jpg)
§ Goalsandfeaturematrix
§ Integrationwithothertools
§ Extensibilityandflexibility
§ Useradoption
§ Learning,implementationandmaintaining
§ Supportandcommunityactivity
§ scope
§ Pricing
§ POC,demo&trialfarm
11
Chooseappropriatetoolsforyourprogramororganization
![Page 12: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/12.jpg)
• AgileandDevOpsTransformation
• DevOpsToolchain
• ImplementationCI/CDwithJenkinsPipeline
• Q&A
u AGENDA
![Page 13: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/13.jpg)
13
CI/CDprocessoverview
![Page 14: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/14.jpg)
14
InnovationsofCI/CD
• Servicedefinition:architecturedesignandprocess
• AgoodarchitectureimpactsprocessandDevOpsactivities
![Page 15: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/15.jpg)
15
•MultipleleaveCI/CDpipelinesandassembly
• Serviceintegrationcontracttest
• Promotionandrevert
• Versionmappingmanifestcrossleaves
![Page 16: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/16.jpg)
16
Operationasaservice
§ automationtesting
§ monitoring
§ easilystartupasaserviceinKubernetescluster
§ forksharedservicecross-teamandcontributebacktocentralrepository
![Page 17: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/17.jpg)
17
Pipelineascode:defineprocessandrulesincode
§ Pipelineascode:defineprocessandrulesincode
§ Eachcomponentcanbuild,test,deploy,
§ splitsourcecodetoseparateGitrepositorywhichhasitsownJenkinsfileinrootdirectory
![Page 18: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/18.jpg)
18
ReusablePipeline
• loadfromlocalfile
• ApplyFrom:URL• SharedLibraryfunctionality
• @Library('somelib')
• importcom.mycorp.pipeline.somelib.UsefulClass
![Page 19: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/19.jpg)
19
Unifybuildchain
• UseMaventounifybuildchainfordifferenttechnicalstacksorcompilingtoolsofeachmicroservices:C++,Java,npm,Docker,yaml etc.
• SimplifythelogicprogrammingandconfigurationofJenkinspipeline
![Page 20: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/20.jpg)
20
Pre-flightbuild &PrivateCI/CD
§ Pre-flightbuild:keepqualitygatebeforecodechangesbemergesintobranches
§ PrivateCI/CD:sharecomputingandstorageresourcepool
![Page 21: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/21.jpg)
21
IntegrationwithGitHub
![Page 22: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/22.jpg)
22
IntegrationwithGitHub
![Page 23: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/23.jpg)
23
Deployanywhere
• Public,PrivateCloud• Lab,On-premises• Dev,QA,staging,demo• Small/medium/largeprofile,modes
![Page 24: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/24.jpg)
24
Unifyconfiguration,environment,andmethodineachdifferentlayers• Infrastructureprovisioning:Terraform,CloudFormation,Ansible
• Pre-check
• Kubernetscluster:ContainerDeliveryFoundation
• Installation:Deploykit(Go+Ansible)
![Page 25: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/25.jpg)
25
OrchestratewithJenkins:reusetools,stepsandstages
![Page 26: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/26.jpg)
26
IntegrationwithSlackpost{
success{
slackSend channel:'#cicd',
color:'good',
message:“saysomething."
}
}
![Page 27: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/27.jpg)
27
Infraascode
VPC
RDSPSQL
<<External DB>>
Route53DNS
WorkerWorkerWorker
K8S cluster
EC2
Elastic IP
MasterIngress
MasterIngress
MasterIngress
EBS
NFSonEC2
UseEBSaspersistentvolumeviaNFS
AWSInfraprovisionautomationvia
HAK8Scluster
DBsupportforPostgreSQL
![Page 28: 2、林栗-Deploy anywhere:Orchestrating of the DevOps toolchain ... › ganhuodocs › 2017-11-21 › ... · Deploy anywhere: orchestrating the DevOps toolchain with Jenkins Pipeline](https://reader036.fdocuments.us/reader036/viewer/2022081611/5f03b7247e708231d40a6a89/html5/thumbnails/28.jpg)
Q&AThankYou.