Más contenido relacionado La actualidad más candente (20) Similar a Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow) (20) Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)1. Pivotal Cloud Platform Deep Dive
Part 3: Enabling Continuous Delivery
Pivotal CF Team
© Copyright 20134 Pivotal. All rights reserved. 1
2. Before we get started…
© Copyright 2014 Pivotal. All rights reserved.
2
3. Setup Prerequisites
• CloudBees Account (Jenkins)
http://grandcentral.cloudbees.com
• JFrog Artifactory Online Account
https://www.jfrog.com/registration/registration.html
© Copyright 2014 Pivotal. All rights reserved.
3
19. Enabling Continuous Delivery
• Setup Prerequisites
• Continuous Delivery Overview
• How Cloud Foundry Enables Continuous Delivery
• Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF
Client, and PWS
© Copyright 2014 Pivotal. All rights reserved.
19
21. Meet Henry
!
He needs an app built in the next 8 weeks
He knows what the app should do
He expects competitors to try to beat us to
market
21
23. Meet Jane
Jane is a little worried:
!
Not everyone understands agile here
Environment setup takes a long time
8 Weeks isn’t much time to get a release to
production (!)
23
25. Continuous Deployment
25
Github: On August 23, 2012 – 563 builds and 175 deploys
github.com/blog/1241-deploying-at-github
30. Cycle Time
How Long Does It Take To Deploy
One Line Of Code To Production?
30 www.flickr.com/photos/nnova/3399904953
31. Silos
… But We Have A DevOps Team!
31 www.flickr.com/photos/denimdave/6334224428
32. Process
You Need To Open A Ticket For That!
32 www.flickr.com/photos/kevgilmour/4843051331
33. Feedback Loop
Are We Building The Right Thing?
33 www.flickr.com/photos/tenspeedphotography/5450456783
43. Strategies For Success
Do Recreate App Environments Frequently
(Also Known As: Servers Are Not Puppies)
43
!
45. Strategies For Success
Do Deploy Less More Frequently
!
45
! ! ! ! ! !
! ! ! ! ! !
! ! ! ! ! ! !
v2.1
v2.1 ! ! ! !
v2.2 ! ! ! ! ! ! v2.3 ! ! !
46. Strategies For Success
Do Automate All Testing Where Test Failures
Would Prevent A Production Release From
Occurring
!
46
! ! ! |
! ! !
47. Strategies For Success
Do Try To Use Tools That Support The Process
(But Don’t Get Stuck In Tool Selection Hell!)
47
g ! !
48. Enabling Continuous Delivery
• Setup Prerequisites
• Continuous Delivery Overview
• How Cloud Foundry Enables Continuous Delivery
• Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF
Client, and PWS
© Copyright 2014 Pivotal. All rights reserved.
48
55. 55
Cloud Foundry Helps Jane…
Promote Apps Through Environments With
The Same Process
!
!!
! !
!
!
!
56. Cloud Foundry Helps Jane…
By Providing New Options:
+ Canary Deployment
+ Zero Downtime Deployment
+ A/B Testing
+ Scale Apps On-Demand
56
57. App Developers Can Be More
Successful When They Are Supported
By Agile Infrastructure
57
!
58. Enabling Continuous Delivery
• Setup Prerequisites
• Continuous Delivery Overview
• How Cloud Foundry Enables Continuous Delivery
• Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF
Client, and PWS
© Copyright 2014 Pivotal. All rights reserved.
58
59. Lab
• Follow the instructions found at https://github.com/cf-platform-
eng/cf-workshop-cd-module using your:
• Pivotal Web Services Account
• CloudBees Account
• Artifactory Online Account
© Copyright 2014 Pivotal. All rights reserved.
59
60. Enabling Continuous Delivery
• Setup Prerequisites
• Continuous Delivery Overview
• How Cloud Foundry Enables Continuous Delivery
• Lab: Setup a CD Pipeline with Jenkins, Artifactory, CF
Client, and PWS
© Copyright 2014 Pivotal. All rights reserved.
60
61. Coming Up
• Break (4:00 - 4:15)
• Part Four (4:15 - 5:30)
• Learn CF Extension Points
• Customize a Buildpack -OR-
•Write and Deploy a Service Broker
© Copyright 2014 Pivotal. All rights reserved.
61