Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Pragmatic Continuous Delivery          Neeme Praks           @nemecec      LiveRebel Product Lead          ZeroTurnaround
About me•Java developer 10+ years•Java apps support!•Java dev infra engineer•Analyst, architect•Team Lead•Product Lead
About ZeroTurnarond  Developer productivity    tool:   Java app deployment     tool:
Today•Reasons for the pipeline•Tools used•Overview of the pipeline•Review the details•Run it!
Fedex•Package•Dropoff•Transfer•Delivery•Profit!
Fedex       Java EE•Package    •Package•Dropoff    •Test•Transfer   •Approve•Delivery   •Deploy•Profit!     •Profit!
Questions•How do you package the application?•Where did it come from?•Where does it go?•How does it get deployed?•What exa...
A pipeline?              Source: http://startupblog.files.wordpress.com/2008/09/pipeline1.jpg
Continuous Deliverypipeline      Source: http://studentthinktank.eu/wp-content/uploads/2012/02/03_TURKMEN-PIPELINE.jpg
Philosophy•Automate•Record•Test and monitoring•Recover
The sample pipeline•Currently available tools•Preferably open-source•3 weeks to build•DIY pipeline   google for “pragmatic...
The tools•Orchestration Platform•Artifact Repository•Delivery Manager
Jenkins   +plugins(OSS Continuous Integration Server)
Nexus(OSS/Commercial Artifact Repository)
LiveRebel(Commercial Delivery Manager for Java EE)
The tools in the pipeline
Artifacts in the pipeline• WAR• Trace file   [BUILD]   Build: 221   Jenkins URL: http://localhost:2001/job/build/221/   Hg ...
Pipelinephases
Build phase
Test phase
QA phase
Production phase
Dirty details in Jenkins
Pipeline in  actionhttp://cddemo.zeroturnaround.com/lr-demo/
Questions revisited•How do you package the application?•Where did it come from?•Where does it go?•How does it get deployed...
Questions revisited   Build pipeline has all the           answers!
Things Not Covered•Database•Configuration & Environment•Tests & Monitoring
No way my boss let’s me do this!
No way my boss let’s me do this!•Changing process is hard
No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)
No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)•Create a workflow that captures current ...
No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)•Create a workflow that captures current ...
Conclusions•Jenkins jobs represent the workflow•Nexus is a sync-point for long- running workflows•LiveRebel does updates•Man...
Pragmatic Continuous Delivery             Neeme Praks               @nemecec        LiveRebel Product Lead            Zero...
Q&A
Upcoming SlideShare
Loading in …5
×

Pragmatic Continuous Delivery - ReaktorDevDay 2012

622 views

Published on

Talk delivered @ http://reaktordevday.fi/2012/

Published in: Technology
  • Be the first to comment

Pragmatic Continuous Delivery - ReaktorDevDay 2012

  1. 1. Pragmatic Continuous Delivery Neeme Praks @nemecec LiveRebel Product Lead ZeroTurnaround
  2. 2. About me•Java developer 10+ years•Java apps support!•Java dev infra engineer•Analyst, architect•Team Lead•Product Lead
  3. 3. About ZeroTurnarond Developer productivity tool: Java app deployment tool:
  4. 4. Today•Reasons for the pipeline•Tools used•Overview of the pipeline•Review the details•Run it!
  5. 5. Fedex•Package•Dropoff•Transfer•Delivery•Profit!
  6. 6. Fedex Java EE•Package •Package•Dropoff •Test•Transfer •Approve•Delivery •Deploy•Profit! •Profit!
  7. 7. Questions•How do you package the application?•Where did it come from?•Where does it go?•How does it get deployed?•What exactly is in prod now?
  8. 8. A pipeline? Source: http://startupblog.files.wordpress.com/2008/09/pipeline1.jpg
  9. 9. Continuous Deliverypipeline Source: http://studentthinktank.eu/wp-content/uploads/2012/02/03_TURKMEN-PIPELINE.jpg
  10. 10. Philosophy•Automate•Record•Test and monitoring•Recover
  11. 11. The sample pipeline•Currently available tools•Preferably open-source•3 weeks to build•DIY pipeline google for “pragmatic continuous delivery”
  12. 12. The tools•Orchestration Platform•Artifact Repository•Delivery Manager
  13. 13. Jenkins +plugins(OSS Continuous Integration Server)
  14. 14. Nexus(OSS/Commercial Artifact Repository)
  15. 15. LiveRebel(Commercial Delivery Manager for Java EE)
  16. 16. The tools in the pipeline
  17. 17. Artifacts in the pipeline• WAR• Trace file [BUILD] Build: 221 Jenkins URL: http://localhost:2001/job/build/221/ Hg revision: f78504a525a617ad319e75bb288c24bdcb325794 Hg log: changeset: 40:f78504a525a6 tag: tip user: Jevgeni Kabanov <jevgeni@zeroturnaround.com> date: Tue Oct 09 13:16:26 2012 +0000 summary: commented out check for HOTPATCH mode - we can now make health checks from localhost [TEST] Jenkins URL: http://localhost:2001/job/automatic-tests/161/ Automated Tests Passed!!! [QA] Manual tests passed!!! [RC] Marked as RC
  18. 18. Pipelinephases
  19. 19. Build phase
  20. 20. Test phase
  21. 21. QA phase
  22. 22. Production phase
  23. 23. Dirty details in Jenkins
  24. 24. Pipeline in actionhttp://cddemo.zeroturnaround.com/lr-demo/
  25. 25. Questions revisited•How do you package the application?•Where did it come from?•Where does it go?•How does it get deployed?•What exactly is in prod now?
  26. 26. Questions revisited Build pipeline has all the answers!
  27. 27. Things Not Covered•Database•Configuration & Environment•Tests & Monitoring
  28. 28. No way my boss let’s me do this!
  29. 29. No way my boss let’s me do this!•Changing process is hard
  30. 30. No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)
  31. 31. No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)•Create a workflow that captures current process
  32. 32. No way my boss let’s me do this!•Changing process is hard•SOLUTION: Sneak it in :)•Create a workflow that captures current process•Then Automate!
  33. 33. Conclusions•Jenkins jobs represent the workflow•Nexus is a sync-point for long- running workflows•LiveRebel does updates•Manual flows with email/REST•Tracking with scripts & text files
  34. 34. Pragmatic Continuous Delivery Neeme Praks @nemecec LiveRebel Product Lead ZeroTurnaround Want more? http://zeroturnaround.comGoogle: “pragmatic continuous delivery”
  35. 35. Q&A

×