<br><font size=2 face="sans-serif">It shouldn't be hard. I haven't
had a chance to do it yet but have seen things like:</font>
<br>
<br><font size=2 face="sans-serif"> </font><font size=3>project.build_command
= 'ssh bob@remotebox</font><a href=mailto:remotemachine@block></a><font size=3>
./home/run_build.sh <REVISION>' </font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">run_build.sh:</font>
<br><font size=2 face="sans-serif"> </font><font size=3>#/bin/bash
<br>
svn up -r$1 <br>
rake </font>
<br>
<br><font size=2 face="sans-serif">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. </font>
<br><font size=2 face="sans-serif">If you do the work feel free to submit
a patch.</font>
<br>
<br><font size=2 face="sans-serif">--Rolf</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Grant McInnes <grant.mcinnes@ehealthinnovation.org></b>
</font>
<br><font size=1 face="sans-serif">Sent by: cruisecontrolrb-users-bounces@rubyforge.org</font>
<p><font size=1 face="sans-serif">07/16/2007 06:26 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">cruisecontrolrb-users@rubyforge.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Cruisecontrolrb-users] remote builders</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Has anyone done anything towards remote builders yet?
I don't <br>
suppose its gonna be too hard to do, what with drb and friends on my <br>
side, but if someone has put something together, or has pointers to a <br>
good way to script win32 boxes to start up arbitrary GUI apps, I <br>
would be mucho obligado.<br>
<br>
-g<br>
_______________________________________________<br>
Cruisecontrolrb-users mailing list<br>
Cruisecontrolrb-users@rubyforge.org<br>
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users<br>
</font></tt>
<br>