Continuous Integration
-
Upload
nicolas-sanguinetti -
Category
Technology
-
view
1.886 -
download
0
description
Transcript of Continuous Integration
ContinuousIntegration
Sunday, May 30, 2010
What?
Sunday, May 30, 2010
1)Integrate Frequently
Sunday, May 30, 2010
2)Fix Any Integration Problem ASAP
Sunday, May 30, 2010
Sunday, May 30, 2010
Instant Feedback
Sunday, May 30, 2010
Deploy Anytime
Sunday, May 30, 2010
Less Time Figuring Out What Went Wrong
Sunday, May 30, 2010
Less Bugs
Sunday, May 30, 2010
Better Estimations
Sunday, May 30, 2010
How do you get there?
Sunday, May 30, 2010
Just Do It
Sunday, May 30, 2010
Automate It!
Sunday, May 30, 2010
Just a Shellscript Will Do
Sunday, May 30, 2010
#!/usr/bin/env ruby -wKU -rubygems
require "mail"
path = File.expand_path("../../..", __FILE__) # ./my_repoold_head, new_head, ref = ARGC.splitoutput = `cd #{path} && rake build && cap staging deploy`
exit if $?.success?
Mail.deliver do from "[email protected]" to "[email protected]" subject "Built #{new_head} and failed :(" body outputend
./my_repo/.git/hooks/post-receive
Sunday, May 30, 2010
There’s No Need To Reinvent the Wheel
Sunday, May 30, 2010
A Few Alternatives
Sunday, May 30, 2010
• Hudson
• CI Joe
• Integrity
Sunday, May 30, 2010
• Built with Java
• Easy to set up
• Lots of Plugins
• Multiple SCMs officially supported
• Multiple Projects
• History of builds
Sunday, May 30, 2010
Sunday, May 30, 2010
It works. It's a beast, sometimes it takes a lot of config, but it works.
Sunday, May 30, 2010
CI Joehttp://github.com/defunkt/cijoe
Sunday, May 30, 2010
• Simple and Tiny
• Single Project
• Married to Git
• Easy to hack on
• Easy to set up
• No history
Sunday, May 30, 2010
Sunday, May 30, 2010
It's great. Tiny, very little config, and works like a
charm. But, limited.
Sunday, May 30, 2010
Integrityhttp://integrityapp.com
Sunday, May 30, 2010
• 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
Sunday, May 30, 2010
It's not as full featured as Hudson, nor as limited as CI Joe.
It works great.
Sunday, May 30, 2010
My recommendation?
Sunday, May 30, 2010
Try Them
Sunday, May 30, 2010
Can you live with CI Joe’s limitations?
Sunday, May 30, 2010
If not, Integrity works
Sunday, May 30, 2010
Questions?
Sunday, May 30, 2010
Oh, One Last Thing
Sunday, May 30, 2010
RubyConf UruguayOctober 22nd-23rd (tentatively)
Sunday, May 30, 2010
RubyConf Uruguayget updates on @rubyconfuruguay
Sunday, May 30, 2010
Dziękuję!(Thank you!)
http://github.com/focahttp://twitter.com/godfoca
Sunday, May 30, 2010
Credits
http://www.flickr.com/photos/bfhoyt/413450378http://www.flickr.com/photos/bitzcelt/2561992266
http://www.flickr.com/photos/rahel_jaskow/3974688430http://www.flickr.com/photos/unavoidablegrain/4622043091
http://www.flickr.com/photos/gratzer/1414922403http://www.flickr.com/photos/indieink/332473019
http://commons.wikimedia.org/wiki/File:Hudson_Screenshot.png
Sunday, May 30, 2010