Weitere ähnliche Inhalte Ähnlich wie Continous delivery (18) Mehr von Andrzej Grzesik (10) Kürzlich hochgeladen (20) Continous delivery5. ABOUT:ME
Present
Past
Monday, July 2, 12
7. QUESTIONS?
ask them right away!
Monday, July 2, 12
9. because
is more fun than
Monday, July 2, 12
16. What is done?
Coded
Checked-in
Reviewed
Built
Monday, July 2, 12
17. What is done?
Coded
Checked-in
Reviewed
Built
Tested
Monday, July 2, 12
18. What is done?
Coded
Checked-in
Reviewed
Built
Tested
Demoed
Monday, July 2, 12
21. Our highest priority is to satisfy the customer
through early and continuous delivery of valuable
software.
Monday, July 2, 12
22. Our highest priority is to satisfy the customer
through early and continuous delivery of valuable
software.
Agile Manifesto
Monday, July 2, 12
23. it’s not ready
till it’s deployed
done === released
Monday, July 2, 12
25. Eric Ries, The Lean Startup
build&
create hypothesis
ideas& deploy&
deliver minimum
viable product
get feedback
learn& measure&
(repeat) data&
Monday, July 2, 12
26. If we can
reduce the time between major iterations
We can increase our odds of success
Eric Ries, Lean Startup
Monday, July 2, 12
27. If we can
reduce the time between major iterations
We can increase our odds of success
Eric Ries, Lean Startup
Monday, July 2, 12
28. How long would it take your organization to
deploy a change that involved just one single
line of code?
Do you do this on a repeatable, reliable basis?
Mary and Tom Poppendieck,
Implementing Lean Software Development
Monday, July 2, 12
29. How long would it take your organization to
deploy a change that involved just one single
line of code?
Do you do this on a repeatable, reliable basis?
Mary and Tom Poppendieck,
Implementing Lean Software Development
Monday, July 2, 12
32. entreth:
The Deployment Pipeline
Monday, July 2, 12
39. The Deployment Pipeline
compile
Acceptance Capacity
unit test
testing testing
package
artifact repository
Monday, July 2, 12
40. The Deployment Pipeline
compile
Acceptance Capacity Manual
unit test
testing testing testing
package
artifact repository
Monday, July 2, 12
41. The Deployment Pipeline
compile
Acceptance Capacity Manual
unit test
testing
Release
testing testing
package
artifact repository
Monday, July 2, 12
44. The Deployment Pipeline
compile
Acceptance Capacity
unit test
testing testing
package
artifact repository
Monday, July 2, 12
45. The Deployment Pipeline
compile
Acceptance Capacity Manual
unit test
testing testing testing
package
artifact repository
Monday, July 2, 12
46. The Deployment Pipeline
compile
Acceptance Capacity Manual
unit test
testing
Release
testing testing
package
artifact repository
Monday, July 2, 12
47. The Deploymentfear!
Pipeline
compile
Acceptance Capacity Manual
unit test
testing
Release
testing testing
package
artifact repository
Monday, July 2, 12
52. all code
is production ready
Monday, July 2, 12
57. error-prone
http://www.flickr.com/photos/aaronjacobs/64368770/
Monday, July 2, 12
60. voodoo
http://flickr.com/photos/35541100@N00/2486381001/
Monday, July 2, 12
61. 2 AM deploys
http://www.flickr.com/photos/dhdesign/1096464615/sizes/z/in/photostream/
Monday, July 2, 12
65. deploying rarely
late first contact with reality
creates unrealistic assumptions
tested.. in dev
Monday, July 2, 12
68. if it hurts
do it more often!
practice, practice, practice
Monday, July 2, 12
72. some stats
Facebook - deploy every 10 minutes
Netflix
Etsy - 50-60 deploys/day
last project - 1374 commits, 1057
deployments, <8 months
Monday, July 2, 12
75. If I erased ALL your production
machines, how long would you need
to be back up?
Monday, July 2, 12
76. well, code is in Git
mercurial, subversion, ClearCase, whathaveyou
Monday, July 2, 12
77. Imagine:
http://www.flickr.com/photos/roadhunter/68017745/
Monday, July 2, 12
82. manual configuration of environments
not repeatable
privileged team of “magicians”
slight differences create errors
hard to version
doesn’t scale
Monday, July 2, 12
86. meanwhile,
in the real world
Monday, July 2, 12
87. deploys
how do I?
Monday, July 2, 12
88. deploys
blue-green
canary
emergency fixes
Monday, July 2, 12
97. caveats
State
Configuration vs JEE
Monday, July 2, 12
99. caveat: datastores
really: must be scripted
migrations scripts + from scratch
have tests talking to the db
test each datastore
Monday, July 2, 12
107. desktops
LOVE your autoupdate
build-in version checking and inform user
Monday, July 2, 12
110. in practice
modules, modules, modules
pre-tested commits rock.. a bit
dvcs rock a lot!
VMs rock a lot^2!
Monday, July 2, 12
116. resources
http://continuousdelivery.com
http://lmgtfy.com/?q=continuous+delivery
Monday, July 2, 12