Grant McInnes
2007-Aug-11 00:03 UTC
[Cruisecontrolrb-users] Cruisecontrolrb-users Digest, Vol 6, Issue 1
Hi all: Is it possible for a builder to have more than one scheduler associated with it? -grant On 4-Aug-07, at 5:51 PM, cruisecontrolrb-users-request at rubyforge.org wrote:> Send Cruisecontrolrb-users mailing list submissions to > cruisecontrolrb-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > or, via email, send a message with subject or body ''help'' to > cruisecontrolrb-users-request at rubyforge.org > > You can reach the person managing the list at > cruisecontrolrb-users-owner at rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cruisecontrolrb-users digest..." > > > Today''s Topics: > > 1. Re: remote builders (manish) > 2. Re: remote builders (Rolf Russell) > 3. Re: remote builders (Alexey Verkhovsky) > 4. CruiseControl.rb with CVS (Joshua Mervine) > 5. Re: CruiseControl.rb with CVS (Jeremy Stell-Smith) > 6. [ANN] CCTray written in Java to connect to Cruise Control > (Ketan Padegaonkar) > 7. Ruby 1.8.6 issues (Antonio Cangiano) > 8. Re: Ruby 1.8.6 issues (Jeremy Stell-Smith) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 19 Jul 2007 10:37:58 +0530 > From: manish <manish at gslab.com> > Subject: Re: [Cruisecontrolrb-users] remote builders > To: Rolf Russell <RRussell at thoughtworks.com>, > cruisecontrolrb-users at rubyforge.org > Message-ID: <469EF1AE.3030908 at gslab.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > Rolf Russell wrote: >> >> I started looking at using cygwin to provide ssh in windows a few >> weeks ago but got side tracked and didn''t finish. I would recommend >> starting by looking into that. >> >> It would be possible to have a daemon/agent running on the remote >> machine. I''ve shyed away from this because ssh was such a simple >> solution and I didn''t have time. >> It may also be possible to simply run cruise on the remote machine >> and >> use a shared file system to have the main instance of cruise report >> the results from all remote machines. There are likely issues to be >> worked out with showing when a build is running, forcing builds, etc. > What I am thinking of is some kind of abstraction layer, may be in > rake, > where in > we just say a given task is to be executed on remote machine, by > specifying some > attributes, e.g. IP, Port in case of RDB or host, username and > password > in case of > ssh. We also assume that the remote machine has all the necessary > requirement > fulfilled to execute given task. > > I am not sure if this is really a CCRB item or a rake item, but in a > given typical > scenario, I want some of my tests to run on windows machine and the > report should > be retrieved back for on CCRB. E.g. Some of my watir test has to > run on > Windows > machine, where as my CCRB is hosted on Unix machine. So for me turning > off those > watir tests is the only option for CCRB build to report success. > > Hope this make sense. > Thanks and Regards, > Manish > > > > > ------------------------------ > > Message: 2 > Date: Thu, 19 Jul 2007 09:34:18 -0500 > From: Rolf Russell <RRussell at thoughtworks.com> > Subject: Re: [Cruisecontrolrb-users] remote builders > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > <OF2CD8D601.EA183A72-ON8625731D.004FE5C1-8625731D. > 00505E34 at thoughtworks.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi Manish, > > I say give ssh or drb a shot and tell us what happens. I think both > approaches are reasonable. I''m not convinced about the value of an > abstraction layer over both ssh & drb. I''m more of a > get-one-of-them-to-work-and-then-see type of guy. > > BTW - does anyone else have a solution around the pains of ssh on > windows? > > --Rolf > > > > > > > > manish <manish at gslab.com> > 07/19/2007 12:07 AM > > To > Rolf Russell <RRussell at thoughtworks.com>, > cruisecontrolrb-users at rubyforge.org > cc > > Subject > Re: [Cruisecontrolrb-users] remote builders > > > > > > > > Rolf Russell wrote: >> >> I started looking at using cygwin to provide ssh in windows a few >> weeks ago but got side tracked and didn''t finish. I would recommend >> starting by looking into that. >> >> It would be possible to have a daemon/agent running on the remote >> machine. I''ve shyed away from this because ssh was such a simple >> solution and I didn''t have time. >> It may also be possible to simply run cruise on the remote machine >> and >> use a shared file system to have the main instance of cruise report >> the results from all remote machines. There are likely issues to be >> worked out with showing when a build is running, forcing builds, etc. > What I am thinking of is some kind of abstraction layer, may be in > rake, > where in > we just say a given task is to be executed on remote machine, by > specifying some > attributes, e.g. IP, Port in case of RDB or host, username and > password > in case of > ssh. We also assume that the remote machine has all the necessary > requirement > fulfilled to execute given task. > > I am not sure if this is really a CCRB item or a rake item, but in a > given typical > scenario, I want some of my tests to run on windows machine and the > report should > be retrieved back for on CCRB. E.g. Some of my watir test has to > run on > Windows > machine, where as my CCRB is hosted on Unix machine. So for me turning > off those > watir tests is the only option for CCRB build to report success. > > Hope this make sense. > Thanks and Regards, > Manish > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070719/ed4e3ad7/attachment-0001.html > > ------------------------------ > > Message: 3 > Date: Thu, 19 Jul 2007 14:39:01 -0500 > From: Alexey Verkhovsky <averkhov at thoughtworks.com> > Subject: Re: [Cruisecontrolrb-users] remote builders > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > <OF3A3DA7AC.AF4D2AB5-ON8625731D.006B5F72-8725731D. > 006BF1BF at thoughtworks.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi, > > There is a couple of ways to have sshd on a Windows box. Cygwin is the > most obvious, and I think there is an inexpensive (to the tune of $40) > commercial solution. > One can also write a really simple web app that does this. > > Botom line: it''s not a hard problem to roll your own solution for, and > there are not many enough CC.rb users who need it, so it doesn''t > seem to > be a good core feature to me. > > -- > Alex > > > > > > Manish Sapariya <manish at gslab.com> > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > 07/17/2007 11:07 PM > > To > cruisecontrolrb-users at rubyforge.org > cc > > Subject > Re: [Cruisecontrolrb-users] remote builders > > > > > > > Would n''t it be possible to have some daemon like thing running on > remote > machine, which is drb or custom protocol based. > > Ssh does not work (out of the box) when remote windows is machine. > > My problem is that I want to run unit tests on multiple platforms > in one > of > my build configuration. > > Thanks, > Manish > > > Rolf Russell wrote: >> >> It shouldn''t be hard. I haven''t had a chance to do it yet but have >> seen things like: >> >> project.build_command = ''ssh bob at remotebox ./home/ >> run_build.sh >> <REVISION>'' >> >> where the code is checked out both on the ccrb box and on the remote >> box. ccrb figures out the revision when it is triggered and then >> passes it to a shell script on the remotebox that checks out to that >> revision and runs the build. >> >> run_build.sh: >> #/bin/bash >> svn up -r$1 >> rake >> >> The trick is that ccrb doesn''t know how to figure out the revision >> yet. You''ll need to substitute the revision number for <REVISION> >> before calling ssh. >> If you do the work feel free to submit a patch. >> >> --Rolf > > _______________________________________________ > 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/20070719/505203d4/attachment-0001.html > > ------------------------------ > > Message: 4 > Date: Mon, 23 Jul 2007 12:47:49 -0700 > From: Joshua Mervine <jmerv at corp.earthlink.net> > Subject: [Cruisecontrolrb-users] CruiseControl.rb with CVS > To: Cruisecontrolrb-users at rubyforge.org > Message-ID: <F587AED1-6C2F-4582-AB76-E8121767AE6A at corp.earthlink.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Is it possible to use CruiseControl.rb with cvs? I couldn''t find any > docs on it. Thanks. > > --Josh > > > > > > ------------------------------ > > Message: 5 > Date: Tue, 24 Jul 2007 08:48:38 -0700 > From: "Jeremy Stell-Smith" <jeremystellsmith at gmail.com> > Subject: Re: [Cruisecontrolrb-users] CruiseControl.rb with CVS > To: "Joshua Mervine" <jmerv at corp.earthlink.net> > Cc: Cruisecontrolrb-users at rubyforge.org > Message-ID: > <b18eecea0707240848q3df48a11n6acf69f19a1f175 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > not currently, but there are a few people that have successfully > hacked in > support to different vcs''s. CVS is close enough to Subversion that it > should be relatively straitforward if you''re feeling brave :) > > On 7/23/07, Joshua Mervine <jmerv at corp.earthlink.net> wrote: >> >> Is it possible to use CruiseControl.rb with cvs? I couldn''t find any >> docs on it. Thanks. >> >> --Josh >> >> >> >> _______________________________________________ >> 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/20070724/1840d49b/attachment-0001.html > > ------------------------------ > > Message: 6 > Date: Tue, 24 Jul 2007 21:37:54 +0530 > From: "Ketan Padegaonkar" <ketanpadegaonkar at gmail.com> > Subject: [Cruisecontrolrb-users] [ANN] CCTray written in Java to > connect to Cruise Control > To: cruisecontrol-user at lists.sourceforge.net, > cruisecontrolrb-users at rubyforge.org, > cruisecontrolrb-developers at rubyforge.org > Message-ID: > <c562e79b0707240907o1f2212fcm5f8d5a985e3f918b at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > JCCTray is a Java port of CCTray that was originally written in .NET. > JCCTray is a utility for use with all flavors of CruiseControl > Continuous Integration servers. Specifically it works with > CruiseControl, CruiseControl.NET, CruiseControl.Rb. It provides > feedback on build progress, and allows control over some of the > server''s operations. > > You can download JCCTray from http://jcctray.sourceforge.net/ > > Cheers, > Ketan Padegaonkar > I blog... Therefore I am... http://ketan.padegaonkar.name > > > ------------------------------ > > Message: 7 > Date: Fri, 3 Aug 2007 18:45:16 -0400 > From: "Antonio Cangiano" <acangiano at gmail.com> > Subject: [Cruisecontrolrb-users] Ruby 1.8.6 issues > To: cruisecontrolrb-users at rubyforge.org > Message-ID: > <309e18020708031545s6c8b5130x7372a7b37e996d5a at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > CruiseControl.rb works great with Ruby 1.8.5 but it is currently > not working > correctly with 1.8.6 (because error codes are not returned when > exceptions > are raised while running tests). I was wondering if you have a rough > estimate of when a fix will be available? > > Thanks in advance, > Antonio > -- > http://antoniocangiano.com - Zen and the Art of Ruby Programming > http://math-blog.com - Math Blog: Mathematics is wonderful! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/ > attachments/20070803/40322ddd/attachment-0001.html > > ------------------------------ > > Message: 8 > Date: Sat, 4 Aug 2007 14:51:39 -0700 > From: "Jeremy Stell-Smith" <jeremystellsmith at gmail.com> > Subject: Re: [Cruisecontrolrb-users] Ruby 1.8.6 issues > To: "Antonio Cangiano" <acangiano at gmail.com> > Cc: cruisecontrolrb-users at rubyforge.org > Message-ID: > <b18eecea0708041451t43d4f49duf425eb8e72f73a4 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > as I understand it, the problem is w/ test/unit - so we''re waiting > for the > next interim release of ruby for it to be fixed. > > that said, you can probably code a work around if you must use 1.8.6 > > look at the at_exit handler in test/unit, you might be able to do a > similar > thing w/o using an at_exit block (include all your tests, then call > the code > directly and return 0 or 1 as appropriate) > > if it works let us know! > > Jeremy > > On 8/3/07, Antonio Cangiano <acangiano at gmail.com> wrote: >> >> CruiseControl.rb works great with Ruby 1.8.5 but it is currently not >> working correctly with 1.8.6 (because error codes are not returned >> when >> exceptions are raised while running tests). I was wondering if you >> have a >> rough estimate of when a fix will be available? >> >> Thanks in advance, >> Antonio >> -- >> http://antoniocangiano.com - Zen and the Art of Ruby Programming >> http://math-blog.com - Math Blog: Mathematics is wonderful! >> _______________________________________________ >> 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/20070804/29661f26/attachment.html > > ------------------------------ > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > End of Cruisecontrolrb-users Digest, Vol 6, Issue 1 > ***************************************************
Alexey Verkhovsky
2007-Aug-11 01:00 UTC
[Cruisecontrolrb-users] Cruisecontrolrb-users Digest, Vol 6, Issue 1
On 8/10/07, Grant McInnes <grant.mcinnes at ehealthinnovation.org> wrote:> Is it possible for a builder to have more than one scheduler > associated with it?Only in a sense that it''s all interpreted open-sourced code, you can edit it in situ without compilation or deployment hassles. But you can replace the standard PollingScheduler with your own thing, and make it call project.build_if_necessary() as and when needed. In the next version we introduce triggers, that won''t be *schedulers*, but will allow you to have more than one thing that can say "yes" to the question "is build necessary now?" So, the check if there is a new SVN revision becomes one of the triggers. Other triggers can be "was there a recent successful buil for another project?", "have we gone for 24 hours without a build?" and so on. And you will be able to have multiple triggers on the same project. -- Alex P.S. Please go easy on quoting when posting to this list :)