Jelte Liebrand
2007-Aug-17 07:29 UTC
[Cruisecontrolrb-users] Question on triggers and overall config
Hi there, I have been looking in to CruiseControl and have two quick questions that I was hoping you could answer for me. First of all, is the "trigger_by" supported yet, or would I need to just get the trunk version of cruise control for that? The second question is about the config.rb. I understand there is a [cruise]/config/site_config.rb.example which gets used for each project. But if I have multiple projects, is there a "main" config.rb somewhere? ie one config.rb that applies to *all* my projects, which individual project config.rb''s override? (Just thought of a third question, albeit a small one: is there any limit on the number of projects that can run on one cruisecontrol server? I''m thinking about having about 50 projects....) /Cheers, Jelte Jelte Liebrand Director of Engineering General Manager UK office office +44 (0) 203 006 3111 mobile +44 (0) 7970 288 310 email jelte.liebrand at quickoffice.com Powering the Mobile Professional Registered office: Quickoffice, Inc., 6 Lloyd''s Avenue, London EC3N 3ES, UK Registered in England and Wales, No: FC27229; Branch No: BR9144 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070817/2c3f21ca/attachment-0001.html
Jeremy Stell-Smith
2007-Aug-18 16:12 UTC
[Cruisecontrolrb-users] Question on triggers and overall config
interesting questions On 8/17/07, Jelte Liebrand <jelte.liebrand at quickoffice.com> wrote:> > Hi there, > I have been looking in to CruiseControl and have two quick questions that > I was hoping you could answer for me. > > First of all, is the "trigger_by" supported yet, or would I need to just > get the trunk version of cruise control for that? >it''s in trunk but we should be releasing it soon. nevertheless, feel free to grab the trunk The second question is about the config.rb. I understand there is> a [cruise]/config/site_config.rb.example which gets used for each project. > But if I have multiple projects, is there a "main" config.rb somewhere? ie > one config.rb that applies to *all* my projects, which individual project > config.rb''s override? >site_config actually applies to the server, not the project, but I don''t think it''s what you''re looking for. you''re thinking about cruise_config.rb in each project directory. there is no shared config, but there doesn''t really have to be. because it''s ruby, just add a require File.dirname(__FILE__) + "/../shared_cruise_config" at the top of every one of your cruise_config.rb''s and you can put shared code in this new file, have another project settings block in there or whatever (Just thought of a third question, albeit a small one: is there any limit on> the number of projects that can run on one cruisecontrol server? I''m > thinking about having about 50 projects....) >there is no limit, however, keep in mind that unlike java cruise, we don''t serialize builds. there is a separate process fired up for every project. so if your builds are long and cpu intensive and they happen fairly often, you could be killing your machine. and, even if that is not the case, each builder currently takes up ~40-80 M of memory (it''s a rails thing) so your machine could limit you there. /Cheers,> Jelte > > *Jelte Liebrand > *Director of Engineering > General Manager UK office > > *office* +44 (0) 203 006 3111 > *mobile* +44 (0) 7970 288 310 * * > * email* jelte.liebrand at quickoffice.com<jelte.liebrand at Quickoffice.com> > > <http://www.quickoffice.com/> [image: Quickoffice.com]<http://www.quickoffice.com> > *Powering the Mobile Professional* > Registered office: Quickoffice, Inc., 6 Lloyd''s Avenue, London EC3N 3ES, > UK > Registered in England and Wales, No: FC27229; Branch No: BR9144 > > <http://www.quickoffice.com/index.html> > > > > > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070818/d796a9f8/attachment.html
Alexey Verkhovsky
2007-Aug-18 22:17 UTC
[Cruisecontrolrb-users] Question on triggers and overall config
Hmm... For some reason, the Reply button in for cruisecontrolrb-users sends the reply to the original author, not to the list... ---------- Forwarded message ---------- From: Alexey Verkhovsky <alexey.verkhovsky at gmail.com> Date: Aug 17, 2007 4:14 PM Subject: Re: [Cruisecontrolrb-users] Question on triggers and overall config To: Jelte Liebrand <jelte.liebrand at quickoffice.com> On 8/17/07, Jelte Liebrand <jelte.liebrand at quickoffice.com> wrote:> > > I have been looking in to CruiseControl and have two quick questions that I was hoping you could answer for me. > > > First of all, is the "trigger_by" supported yet, or would I need to just get the trunk version of cruise control for that?No, not yet. It''s on the trunk (and at the time of this writing has a rather severe bug in it).> > > The second question is about the config.rb. I understand there is a [cruise]/config/site_config.rb.example which gets used for each project. But if I have multiple projects, is there a "main" config.rb somewhere? ie one config.rb that applies to *all* my projects, which individual project config.rb''s override?site_config.rb is a system-wide configuration. Project configuration file is called cruise_config.rb. There isn''t anything central (other than the hard-coded defaults). But you can create a default_cruise_config.rb somewhere and require it from cruise_config.rb of every project.> > > (Just thought of a third question, albeit a small one: is there any limit on the number of projects that can run on one cruisecontrol server? I''m thinking about having about 50 projects....)Never tried. The dashboard UI is designed to have 5-6 project panes visible on the screen (although that can be easily changed), and I''d also be concerned about overstressing the CI server. You''d certainly have to run builds remotely (over SSH), and tweak the builder configurations to reduce the amount of Subversion polling. Actually, if I had to organize 50 builds under the same CI server today, I''d be looking at CruiseControl the Original, rather than CC.rb. ThoughtWorks is building a product out of it (called Cruise Control Enterprise), so the latest release had a huge facelift and a bunch of new features aimed exactly at big, complex CI situations. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]