Continuous Integration

2,407 views
2,326 views

Published on

My EuRuKo 2010 presentation on Continuous Integration and why it's a good thing.

Published in: Technology, Sports
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,407
On SlideShare
0
From Embeds
0
Number of Embeds
60
Actions
Shares
0
Downloads
30
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Continuous Integration

  1. 1. Continuous Integration Sunday, May 30, 2010
  2. 2. What? Sunday, May 30, 2010
  3. 3. 1) Integrate Frequently Sunday, May 30, 2010
  4. 4. Sunday, May 30, 2010 2) Fix Any Integration Problem ASAP
  5. 5. Sunday, May 30, 2010
  6. 6. Instant Feedback Sunday, May 30, 2010
  7. 7. Deploy Anytime Sunday, May 30, 2010
  8. 8. Less Time Figuring Out What Went Wrong Sunday, May 30, 2010
  9. 9. Less Bugs Sunday, May 30, 2010
  10. 10. Better Estimations Sunday, May 30, 2010
  11. 11. How do you get there? Sunday, May 30, 2010
  12. 12. Just Do It Sunday, May 30, 2010
  13. 13. Automate It! Sunday, May 30, 2010
  14. 14. Just a Shellscript Will Do Sunday, May 30, 2010
  15. 15. ./my_repo/.git/hooks/post-receive #!/usr/bin/env ruby -wKU -rubygems require "mail" path = File.expand_path("../../..", __FILE__) # ./my_repo old_head, new_head, ref = ARGC.split output = `cd #{path} && rake build && cap staging deploy` exit if $?.success? Mail.deliver do      from "ci@company.com"        to "team@company.com"   subject "Built #{new_head} and failed :("      body output end Sunday, May 30, 2010
  16. 16. There’s No Need To Reinvent the Wheel Sunday, May 30, 2010
  17. 17. A Few Alternatives Sunday, May 30, 2010
  18. 18. • Hudson • CI Joe • Integrity Sunday, May 30, 2010
  19. 19. Hudson http://hudson-ci.org Sunday, May 30, 2010
  20. 20. • Built with Java • Easy to set up • Lots of Plugins • Multiple SCMs officially supported • Multiple Projects • History of builds Sunday, May 30, 2010
  21. 21. Sunday, May 30, 2010
  22. 22. It works. It's a beast, sometimes it takes a lot of config, but it works. Sunday, May 30, 2010
  23. 23. CI Joe http://github.com/defunkt/cijoe Sunday, May 30, 2010
  24. 24. • Simple and Tiny • Single Project • Married to Git • Easy to hack on • Easy to set up • No history Sunday, May 30, 2010
  25. 25. Sunday, May 30, 2010
  26. 26. It's great. Tiny, very little config, and works like a charm. But, limited. Sunday, May 30, 2010
  27. 27. Integrity http://integrityapp.com Sunday, May 30, 2010
  28. 28. • Simple and Small • Multiple Projects • Supports Git out of the box, other SCMs soon (if we convince the guy who works on it) • Easy to hack on • Easy to set up • History of builds Sunday, May 30, 2010
  29. 29. Sunday, May 30, 2010
  30. 30. It's not as full featured as Hudson, nor as limited as CI Joe. It works great. Sunday, May 30, 2010
  31. 31. My recommendation? Sunday, May 30, 2010
  32. 32. Try Them Sunday, May 30, 2010
  33. 33. Can you live with CI Joe’s limitations? Sunday, May 30, 2010
  34. 34. If not, Integrity works Sunday, May 30, 2010
  35. 35. Questions? Sunday, May 30, 2010
  36. 36. Oh, One Last Thing Sunday, May 30, 2010
  37. 37. RubyConf Uruguay October 22nd-23rd (tentatively) Sunday, May 30, 2010
  38. 38. RubyConf Uruguay get updates on @rubyconfuruguay Sunday, May 30, 2010
  39. 39. Dziękuję! (Thank you!) http://github.com/foca http://twitter.com/godfoca Sunday, May 30, 2010
  40. 40. Credits http://www.flickr.com/photos/bfhoyt/413450378 http://www.flickr.com/photos/bitzcelt/2561992266 http://www.flickr.com/photos/rahel_jaskow/3974688430 http://www.flickr.com/photos/unavoidablegrain/4622043091 http://www.flickr.com/photos/gratzer/1414922403 http://www.flickr.com/photos/indieink/332473019 http://commons.wikimedia.org/wiki/File:Hudson_Screenshot.png Sunday, May 30, 2010

×