From bwnoll at gmail.com Tue Sep 4 20:01:12 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Tue, 04 Sep 2007 18:01:12 -0600
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
Message-ID: <46DDF1C8.2000300@gmail.com>
I'm trying to get my project set up in cruisecontrol.rb and am running
into a wall. I get the project added, force a build from the dashboard,
and immediately receive an error as follows. (I grabbed the command it
tried to run and ran it manually from the same directory and got the
same output. Here it is.)
bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ ruby -e
"require 'rubygems' rescue nil; require 'rake'; load
'/home/bnoll/tools/cruisecontro
lrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
Rake.application.run"
(in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
[CruiseControl] Invoking Rake task "db:test:purge"
rake aborted!
database configuration specifies nonexistent jdbc adapter
(See full trace by running task with --trace)
-----
Now, we're using jruby on this project, and the jdbc adapter to talk to
a mysql database. I'm sure the problem is in one of these two areas.
Hoping that it would be this easy, I ran the exact same command as
above, except with 'jruby' instead of 'ruby'. It didn't work either,
but I got a different error message.
bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ jruby
-e "require 'rubygems' rescue nil; require 'rake'; load
'/home/bnoll/tools/cruisecontro
lrb- 1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
Rake.application.run"
(in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
[CruiseControl] Invoking Rake task "db:test:purge"
[CruiseControl] Invoking Rake task "db:migrate"
rake aborted!
NativeException: java.sql.SQLException: No database selected: SELECT
version FROM schema_info
(See full trace by running task with --trace)
Any thoughts on how to proceed?
TIA...
Bryan
From thibaut.barrere at gmail.com Wed Sep 5 02:09:26 2007
From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=)
Date: Wed, 5 Sep 2007 08:09:26 +0200
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To: <46DDF1C8.2000300@gmail.com>
References: <46DDF1C8.2000300@gmail.com>
Message-ID: <4a68b8cf0709042309v23a17b33xc95c4b44e730ef06@mail.gmail.com>
> Any thoughts on how to proceed?
Just one hint: the message could indicate that the RAILS_ENV you
expect to be passed is not the right one, which would make the
connection fails because database.yml would not contain the matching
information.
WARNING: with Rails projects, it is important that RAILS_ENV does not
default to 'production'. Unless you want your migration scripts and
unit tests to hit your production database, of course.
CruiseControl.reb leaves this variable unchanged when invoking
'cruise' or other custom Rake task, and sets it to 'test' before
invoking the defaults.
regards
-- Thibaut
From ttrout at stormfish.net Wed Sep 5 08:10:11 2007
From: ttrout at stormfish.net (Theron Trout)
Date: Wed, 05 Sep 2007 08:10:11 -0400
Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon
In-Reply-To: <3945c4270708301015t41e5caev551493868f600bbc@mail.gmail.com>
References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net> <3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com> <3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com> <46D6D71E.90401@stormfish.net> <3945c4270708301014g3cf3f3d4u816bf208bf89abf7@mail.gmail.com>
<3945c4270708301015t41e5caev551493868f600bbc@mail.gmail.com>
Message-ID: <46DE9CA3.4030804@stormfish.net>
Hi Alexey,
I got it. Ubuntu Feisty is still using Ruby 1.8.5 as the default
install. Mongrel 1.0.2 will not work with Ruby 1.8.5. See
http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5
I manually installed Ruby 1.8.6 and then reinstalled Rails through ruby
gems. Now everything is working just fine.
Thanks again for you help.
Best,
Theron Trout
Alexey Verkhovsky wrote:
> On 8/30/07, Theron Trout wrote:
>
>> Are there any known issues with CC.rb on 64 archs?
>>
> None, it's pure Ruby.
>
>
>> I get the same result from the daemon and from 'scrip/server -d'.
>>
> And what happens if you generate a skeleton Rails app and run that
> with 'script/server -d'?
>
>
From bwnoll at gmail.com Wed Sep 5 11:06:13 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Wed, 05 Sep 2007 09:06:13 -0600
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To: <4a68b8cf0709042309v23a17b33xc95c4b44e730ef06@mail.gmail.com>
References: <46DDF1C8.2000300@gmail.com>
<4a68b8cf0709042309v23a17b33xc95c4b44e730ef06@mail.gmail.com>
Message-ID: <46DEC5E5.6080008@gmail.com>
Thibaut...
Thanks, but I don't think this is what's happening. I say that because
my database.yml has the configuration entries for all three db
environments. So even if it's not using the one I expect it to (TEST),
it should still be connecting to something, right?
Thibaut Barr?re wrote:
>> Any thoughts on how to proceed?
>>
>
> Just one hint: the message could indicate that the RAILS_ENV you
> expect to be passed is not the right one, which would make the
> connection fails because database.yml would not contain the matching
> information.
>
>
> WARNING: with Rails projects, it is important that RAILS_ENV does not
> default to 'production'. Unless you want your migration scripts and
> unit tests to hit your production database, of course.
> CruiseControl.reb leaves this variable unchanged when invoking
> 'cruise' or other custom Rake task, and sets it to 'test' before
> invoking the defaults.
>
>
> regards
>
> -- Thibaut
>
>
From thibaut.barrere at gmail.com Wed Sep 5 11:22:31 2007
From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=)
Date: Wed, 5 Sep 2007 17:22:31 +0200
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To: <46DEC5E5.6080008@gmail.com>
References: <46DDF1C8.2000300@gmail.com>
<4a68b8cf0709042309v23a17b33xc95c4b44e730ef06@mail.gmail.com>
<46DEC5E5.6080008@gmail.com>
Message-ID: <4a68b8cf0709050822t5db1cc44m40b2cc7be2db31@mail.gmail.com>
>
> Thibaut...
>
> Thanks, but I don't think this is what's happening. I say that because
> my database.yml has the configuration entries for all three db
> environments. So even if it's not using the one I expect it to (TEST),
> it should still be connecting to something, right?
Yeah, that makes sense :) I have another suggestion then (just an idea): you
could try to run ruby script/console directly on the CC machine and see what
happens (possibly with different environments ?).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070905/bb7be051/attachment-0001.html
From bwnoll at gmail.com Wed Sep 5 11:36:23 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Wed, 05 Sep 2007 09:36:23 -0600
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To: <4a68b8cf0709050822t5db1cc44m40b2cc7be2db31@mail.gmail.com>
References: <46DDF1C8.2000300@gmail.com>
<4a68b8cf0709042309v23a17b33xc95c4b44e730ef06@mail.gmail.com>
<46DEC5E5.6080008@gmail.com>
<4a68b8cf0709050822t5db1cc44m40b2cc7be2db31@mail.gmail.com>
Message-ID: <46DECCF7.1040400@gmail.com>
OK... good thought.
Doing a 'ruby script/console' fails... not surprisingly, because this
project requires jruby.
Doing a 'jruby script/console' succeeds... saying "Loading development
environemtn." and providing a prompt.
Another thing... when I cd into [cruise]/work/ and do a 'rake test', it
works perfectly... but this is because when I do a 'which rake', I get
the one in the [JRUBY-1.0.1-HOME]/bin directory.
I google for this type of issue and find this:
http://www.nabble.com/cc.rb-under-JRuby-t4251955.html
Do the folks in on the dev list read this one?
Thibaut Barr?re wrote:
>
> Thibaut...
>
> Thanks, but I don't think this is what's happening. I say that
> because
> my database.yml has the configuration entries for all three db
> environments. So even if it's not using the one I expect it to
> (TEST),
> it should still be connecting to something, right?
>
>
> Yeah, that makes sense :) I have another suggestion then (just an
> idea): you could try to run ruby script/console directly on the CC
> machine and see what happens (possibly with different environments ?).
>
From bwnoll at gmail.com Wed Sep 5 11:50:23 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Wed, 5 Sep 2007 08:50:23 -0700 (PDT)
Subject: [Cruisecontrolrb-users] #cruisecontrolrb on irc.freenode.net
In-Reply-To:
References:
Message-ID: <12500852.post@talk.nabble.com>
Is this irc room not active or am I doing something wrong. I just hopped in
there and am seeing no one.
David James-9 wrote:
>
> The #cruisecontrolrb chat room is now available for your IRC'ing
> pleasure.
>
> -David
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
--
View this message in context: http://www.nabble.com/-cruisecontrolrb-on-irc.freenode.net-tf3949199.html#a12500852
Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com.
From averkhov at thoughtworks.com Wed Sep 5 12:35:41 2007
From: averkhov at thoughtworks.com (Alexey Verkhovsky)
Date: Wed, 5 Sep 2007 11:35:41 -0500
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To: <46DDF1C8.2000300@gmail.com>
Message-ID:
Hi,
Default build behavior is to run a process with "ruby -e"... Which
generally means it will run under MRI.
You need to use project.build_command option in cruise_config.rb of your
project, and put there something like 'jruby -S rake ...'.
--
Alex
Bryan Noll
Sent by: cruisecontrolrb-users-bounces at rubyforge.org
09/04/2007 06:01 PM
To
cruisecontrolrb-users at rubyforge.org
cc
Subject
[Cruisecontrolrb-users] using jruby and mysql jdbc adapter
I'm trying to get my project set up in cruisecontrol.rb and am running
into a wall. I get the project added, force a build from the dashboard,
and immediately receive an error as follows. (I grabbed the command it
tried to run and ran it manually from the same directory and got the
same output. Here it is.)
bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ ruby -e
"require 'rubygems' rescue nil; require 'rake'; load
'/home/bnoll/tools/cruisecontro
lrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
Rake.application.run"
(in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
[CruiseControl] Invoking Rake task "db:test:purge"
rake aborted!
database configuration specifies nonexistent jdbc adapter
(See full trace by running task with --trace)
-----
Now, we're using jruby on this project, and the jdbc adapter to talk to
a mysql database. I'm sure the problem is in one of these two areas.
Hoping that it would be this easy, I ran the exact same command as
above, except with 'jruby' instead of 'ruby'. It didn't work either,
but I got a different error message.
bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ jruby
-e "require 'rubygems' rescue nil; require 'rake'; load
'/home/bnoll/tools/cruisecontro
lrb- 1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
Rake.application.run"
(in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
[CruiseControl] Invoking Rake task "db:test:purge"
[CruiseControl] Invoking Rake task "db:migrate"
rake aborted!
NativeException: java.sql.SQLException: No database selected: SELECT
version FROM schema_info
(See full trace by running task with --trace)
Any thoughts on how to proceed?
TIA...
Bryan
_______________________________________________
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/20070905/a2a9e892/attachment.html
From averkhov at thoughtworks.com Wed Sep 5 12:48:06 2007
From: averkhov at thoughtworks.com (Alexey Verkhovsky)
Date: Wed, 5 Sep 2007 10:48:06 -0600
Subject: [Cruisecontrolrb-users] #cruisecontrolrb on irc.freenode.net
In-Reply-To: <12500852.post@talk.nabble.com>
Message-ID:
Never used it. :)
--
Alex
Bryan Noll
Sent by: cruisecontrolrb-users-bounces at rubyforge.org
09/05/2007 09:50 AM
To
cruisecontrolrb-users at rubyforge.org
cc
Subject
Re: [Cruisecontrolrb-users] #cruisecontrolrb on irc.freenode.net
Is this irc room not active or am I doing something wrong. I just hopped
in
there and am seeing no one.
David James-9 wrote:
>
> The #cruisecontrolrb chat room is now available for your IRC'ing
> pleasure.
>
> -David
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
--
View this message in context:
http://www.nabble.com/-cruisecontrolrb-on-irc.freenode.net-tf3949199.html#a12500852
Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com.
_______________________________________________
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/20070905/910b8e9e/attachment.html
From bwnoll at gmail.com Wed Sep 5 13:17:30 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Wed, 05 Sep 2007 11:17:30 -0600
Subject: [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
In-Reply-To:
References:
Message-ID: <46DEE4AA.8060707@gmail.com>
Thanks Alexey!
That did it.
Alexey Verkhovsky wrote:
>
> Hi,
>
> Default build behavior is to run a process with "ruby -e"... Which
> generally means it will run under MRI.
> You need to use project.build_command option in cruise_config.rb of
> your project, and put there something like 'jruby -S rake ...'.
>
> --
> Alex
>
>
>
> *Bryan Noll *
> Sent by: cruisecontrolrb-users-bounces at rubyforge.org
>
> 09/04/2007 06:01 PM
>
>
> To
> cruisecontrolrb-users at rubyforge.org
> cc
>
> Subject
> [Cruisecontrolrb-users] using jruby and mysql jdbc adapter
>
>
>
>
>
>
>
>
>
> I'm trying to get my project set up in cruisecontrol.rb and am running
> into a wall. I get the project added, force a build from the dashboard,
> and immediately receive an error as follows. (I grabbed the command it
> tried to run and ran it manually from the same directory and got the
> same output. Here it is.)
>
> bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ ruby -e
> "require 'rubygems' rescue nil; require 'rake'; load
> '/home/bnoll/tools/cruisecontro
> lrb-1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
> Rake.application.run"
> (in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
> [CruiseControl] Invoking Rake task "db:test:purge"
> rake aborted!
> database configuration specifies nonexistent jdbc adapter
>
> (See full trace by running task with --trace)
>
>
> -----
>
> Now, we're using jruby on this project, and the jdbc adapter to talk to
> a mysql database. I'm sure the problem is in one of these two areas.
> Hoping that it would be this easy, I ran the exact same command as
> above, except with 'jruby' instead of 'ruby'. It didn't work either,
> but I got a different error message.
>
> bnoll at southpaw:~/tools/cruisecontrolrb-1.1.0/projects/olex/work$ jruby
> -e "require 'rubygems' rescue nil; require 'rake'; load
> '/home/bnoll/tools/cruisecontro
> lrb- 1.1.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build';
> Rake.application.run"
> (in /home/bnoll/tools/cruisecontrolrb-1.1.0/projects/olex/work)
> [CruiseControl] Invoking Rake task "db:test:purge"
> [CruiseControl] Invoking Rake task "db:migrate"
> rake aborted!
> NativeException: java.sql.SQLException: No database selected: SELECT
> version FROM schema_info
>
> (See full trace by running task with --trace)
>
>
>
> Any thoughts on how to proceed?
>
> TIA...
>
> Bryan
>
>
>
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
From bwnoll at gmail.com Thu Sep 6 11:58:33 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Thu, 06 Sep 2007 09:58:33 -0600
Subject: [Cruisecontrolrb-users] timezone configuration for rss feed
Message-ID: <46E023A9.9090100@gmail.com>
I've got cc.rb up and running and am having one small annoyance. I
simply subscribed to the rss feed (haven't set it up to do email or im
notification or anything yet). The rss is working well in that I'm
getting notified every time it builds. My annoyance is that the date
for the message that appears in my rss reader is off. It appears to be
off by the number of hours difference between the timezone my machine is
set to and gmt. Is there a way to configure cc.rb to tell it what
timezones I want it to make rss available in?
A quick note... the time does appear correctly in the dashboard.
--Bryan
From RRussell at thoughtworks.com Fri Sep 7 09:47:43 2007
From: RRussell at thoughtworks.com (Rolf Russell)
Date: Fri, 7 Sep 2007 08:47:43 -0500
Subject: [Cruisecontrolrb-users] timezone configuration for rss feed
In-Reply-To: <46E023A9.9090100@gmail.com>
Message-ID:
I wonder if this has to do with your reader. I just played around with
the timezone on my system clock and the times in my reader changed
accordingly. I think cc.rb is publishing the times in UTC and your
reader needs to convert them to your local time.
--Rolf
Bryan Noll
Sent by: cruisecontrolrb-users-bounces at rubyforge.org
09/06/2007 10:58 AM
To
cruisecontrolrb-users at rubyforge.org
cc
Subject
[Cruisecontrolrb-users] timezone configuration for rss feed
I've got cc.rb up and running and am having one small annoyance. I
simply subscribed to the rss feed (haven't set it up to do email or im
notification or anything yet). The rss is working well in that I'm
getting notified every time it builds. My annoyance is that the date
for the message that appears in my rss reader is off. It appears to be
off by the number of hours difference between the timezone my machine is
set to and gmt. Is there a way to configure cc.rb to tell it what
timezones I want it to make rss available in?
A quick note... the time does appear correctly in the dashboard.
--Bryan
_______________________________________________
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/20070907/818a6fef/attachment-0001.html
From jeremystellsmith at gmail.com Fri Sep 7 11:53:39 2007
From: jeremystellsmith at gmail.com (Jeremy Stell-Smith)
Date: Fri, 7 Sep 2007 08:53:39 -0700
Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon
In-Reply-To: <46DE9CA3.4030804@stormfish.net>
References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net>
<3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com>
<3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com>
<46D6D71E.90401@stormfish.net>
<3945c4270708301014g3cf3f3d4u816bf208bf89abf7@mail.gmail.com>
<3945c4270708301015t41e5caev551493868f600bbc@mail.gmail.com>
<46DE9CA3.4030804@stormfish.net>
Message-ID:
fyi, you're going to have some issues w/ 1.8.6 if you're using test unit -
specifically, test::unit never returns an error code of 1 on failing tests,
so cruise will never fail for a unit test. you can hack around it.
hopefully we'll get a new version of ruby soon
On 9/5/07, Theron Trout wrote:
>
> Hi Alexey,
>
> I got it. Ubuntu Feisty is still using Ruby 1.8.5 as the default
> install. Mongrel 1.0.2 will not work with Ruby 1.8.5. See
>
> http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5
>
>
> I manually installed Ruby 1.8.6 and then reinstalled Rails through ruby
> gems. Now everything is working just fine.
>
> Thanks again for you help.
>
> Best,
> Theron Trout
>
> Alexey Verkhovsky wrote:
> > On 8/30/07, Theron Trout wrote:
> >
> >> Are there any known issues with CC.rb on 64 archs?
> >>
> > None, it's pure Ruby.
> >
> >
> >> I get the same result from the daemon and from 'scrip/server -d'.
> >>
> > And what happens if you generate a skeleton Rails app and run that
> > with 'script/server -d'?
> >
> >
> _______________________________________________
> 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/20070907/439607e9/attachment.html
From alexey.verkhovsky at gmail.com Sat Sep 15 01:39:42 2007
From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky)
Date: Fri, 14 Sep 2007 23:39:42 -0600
Subject: [Cruisecontrolrb-users] CI build is back
Message-ID: <3945c4270709142239p1d96defn40409584173c4c19@mail.gmail.com>
Happy to report that Rails continuous integration build at
http://cruisecontrolrb.thoughtworks.com is back. Running on CentOS 5
Linux under RubyWorks stack now. So long, Mac-mini... :)
--
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]
From alexey.verkhovsky at gmail.com Sat Sep 15 09:56:28 2007
From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky)
Date: Sat, 15 Sep 2007 07:56:28 -0600
Subject: [Cruisecontrolrb-users] RailsConf Europe
Message-ID: <3945c4270709150656y37d16916of2f57cedbc4cc8db@mail.gmail.com>
Going to RailsConf Europe in Berlin, and would like to talk about
CruiseControl.rb or RubyWorks production stack to someone from the
project team? I'll be there, too, so feel free to ping me one way or
another.
There is also a talk about the production stack in the vendor track on Tuesday.
--
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]
From ttrout at stormfish.net Sat Sep 15 10:48:05 2007
From: ttrout at stormfish.net (Theron Trout)
Date: Sat, 15 Sep 2007 10:48:05 -0400
Subject: [Cruisecontrolrb-users] Problems getting CC.rb running as daemon
In-Reply-To:
References: <48286.72.4.203.55.1188436630.squirrel@stormfish.net>
<3945c4270708291904l3d923e24rd16aaa27f9272374@mail.gmail.com>
<3945c4270708291904u1252b18fq4a1e5793b5d1bbba@mail.gmail.com>
<46D6D71E.90401@stormfish.net>
<3945c4270708301014g3cf3f3d4u816bf208bf89abf7@mail.gmail.com>
<3945c4270708301015t41e5caev551493868f600bbc@mail.gmail.com>
<46DE9CA3.4030804@stormfish.net>
Message-ID: <46EBF0A5.9050603@stormfish.net>
Jeremy,
I wasn't aware of that. That's a pretty startling bug. Thank you for
letting me know.
Best,
Theron
Jeremy Stell-Smith wrote:
> fyi, you're going to have some issues w/ 1.8.6 if you're using test
> unit - specifically, test::unit never returns an error code of 1 on
> failing tests, so cruise will never fail for a unit test. you can
> hack around it. hopefully we'll get a new version of ruby soon
>
> On 9/5/07, *Theron Trout* > wrote:
>
> Hi Alexey,
>
> I got it. Ubuntu Feisty is still using Ruby 1.8.5 as the default
> install. Mongrel 1.0.2 will not work with Ruby 1.8.5. See
> http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5
>
>
> I manually installed Ruby 1.8.6 and then reinstalled Rails through
> ruby
> gems. Now everything is working just fine.
>
> Thanks again for you help.
>
> Best,
> Theron Trout
>
> Alexey Verkhovsky wrote:
> > On 8/30/07, Theron Trout > wrote:
> >
> >> Are there any known issues with CC.rb on 64 archs?
> >>
> > None, it's pure Ruby.
> >
> >
> >> I get the same result from the daemon and from 'scrip/server -d'.
> >>
> > And what happens if you generate a skeleton Rails app and run that
> > with 'script/server -d'?
> >
> >
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
>
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
From john at digitalpulp.com Mon Sep 24 13:10:01 2007
From: john at digitalpulp.com (John Bachir)
Date: Mon, 24 Sep 2007 13:10:01 -0400
Subject: [Cruisecontrolrb-users] Best way to stop all CC processes
In-Reply-To:
References:
Message-ID: <2977485A-7340-4673-8267-C08CAB5D529D@digitalpulp.com>
On Sep 24, 2007, at 1:08 PM, John Bachir wrote:
> The best I've got so far is
>
> ps aux |grep cruise
>
Seems like a separate
ps aux |grep 3333
is also necessary.
From john at digitalpulp.com Mon Sep 24 13:08:12 2007
From: john at digitalpulp.com (John Bachir)
Date: Mon, 24 Sep 2007 13:08:12 -0400
Subject: [Cruisecontrolrb-users] Best way to stop all CC processes
Message-ID:
Hi Folks.
Is there a slick way to kill all CC related processes? The best I've
got so far is
ps aux |grep cruise
And then manually killing them.
Thanks,
John
From etienne.charignon at gmail.com Tue Sep 25 04:52:37 2007
From: etienne.charignon at gmail.com (Etienne Charignon)
Date: Tue, 25 Sep 2007 10:52:37 +0200
Subject: [Cruisecontrolrb-users] project.triggered_by
Message-ID: <698ead60709250152o6f7e0011j844e10adbac3c999@mail.gmail.com>
Hello,
I've been using CruiseControl.rb for a few month now, with great
satisfaction.
This morning, I discovered the option project.triggered_by on the online
manual.
Unfortunatly this does not seems to work.
I've downloaded and installed
cruisecontrolrb-1.1.0.tgz
Here is an extract of my build log :
Build Log
Could not load project configuration: undefined method `triggered_by' for
# in
./script/../config/../app/models/project.rb:100:in
`method_missing'
Project Settings
# Project-specific configuration for CruiseControl.rb
Project.configure do |project|
case project.name
when 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runFunctionalTestOnServer.rb'
when 'oneShopTest'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/testOneRetailerShop.rb'
when 'OneWeek_4Retailers_Production'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runServerTests.rb'
else raise "Don't know what to build for project #{project.name.inspect}"
end
end
--
?tienne Charignon
http://etienne.charignon.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070925/de07ede1/attachment.html
From RRussell at thoughtworks.com Tue Sep 25 07:59:35 2007
From: RRussell at thoughtworks.com (Rolf Russell)
Date: Tue, 25 Sep 2007 07:59:35 -0400
Subject: [Cruisecontrolrb-users] project.triggered_by
In-Reply-To: <698ead60709250152o6f7e0011j844e10adbac3c999@mail.gmail.com>
Message-ID:
Hi Etienne,
You need to run against HEAD to use project.triggered_by. Version 1.1
doesn't have it.
--Rolf
"Etienne Charignon"
Sent by: cruisecontrolrb-users-bounces at rubyforge.org
09/25/2007 04:52 AM
To
cruisecontrolrb-users at rubyforge.org
cc
Subject
[Cruisecontrolrb-users] project.triggered_by
Hello,
I've been using CruiseControl.rb for a few month now, with great
satisfaction.
This morning, I discovered the option project.triggered_by on the online
manual.
Unfortunatly this does not seems to work.
I've downloaded and installed cruisecontrolrb-1.1.0.tgz
Here is an extract of my build log :
Build Log
Could not load project configuration: undefined method `triggered_by' for
# in ./script/../config/../app/models/project.rb:100:in
`method_missing'
Project Settings
# Project-specific configuration for CruiseControl.rb
Project.configure do |project|
case project.name
when 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runFunctionalTestOnServer.rb'
when 'oneShopTest'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/testOneRetailerShop.rb'
when 'OneWeek_4Retailers_Production'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runServerTests.rb'
else raise "Don't know what to build for project #{project.name.inspect}"
end
end
--
?tienne Charignon
http://etienne.charignon.free.fr
_______________________________________________
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/20070925/b88e42f0/attachment-0001.html
From etienne.charignon at gmail.com Tue Sep 25 11:22:07 2007
From: etienne.charignon at gmail.com (Etienne Charignon)
Date: Tue, 25 Sep 2007 17:22:07 +0200
Subject: [Cruisecontrolrb-users] project.triggered_by
In-Reply-To:
References: <698ead60709250152o6f7e0011j844e10adbac3c999@mail.gmail.com>
Message-ID: <698ead60709250822l2b7bb47cy37dd4c44743abf50@mail.gmail.com>
Thank you very much Rolf.
I also received a private answer from Alexey explaining that the online help
is actually deployed with the edge (HEAD ? I guess near head !) version of
CC.rb on the site which explained why it is ahead of time.
Etienne
2007/9/25, Rolf Russell :
>
>
> Hi Etienne,
>
> You need to run against HEAD to use project.triggered_by. Version 1.1doesn't have it.
>
> --Rolf
>
>
>
>
>
>
> *"Etienne Charignon" *
> Sent by: cruisecontrolrb-users-bounces at rubyforge.org
>
> 09/25/2007 04:52 AM
> To
> cruisecontrolrb-users at rubyforge.org cc
> Subject
> [Cruisecontrolrb-users] project.triggered_by
>
>
>
>
> Hello,
>
> I've been using CruiseControl.rb for a few month now, with great
> satisfaction.
>
> This morning, I discovered the option project.triggered_by on the online
> manual.
>
> Unfortunatly this does not seems to work.
>
> I've downloaded and installed cruisecontrolrb-1.1.0.tgz
>
> Here is an extract of my build log :
>
> Build Log
> Could not load project configuration: undefined method `triggered_by' for
> # in *./script/../config/../app/models/project.rb:100*:in
> `method_missing'
>
> Project Settings
>
> # Project-specific configuration for CruiseControl.rb
>
> Project.configure do |project|
> case *project.name*
> when 'DataCollectFunctionalTests'
> project.build_command = 'ruby RubyLib/runFunctionalTestOnServer.rb'
>
> when 'oneShopTest'
> project.triggered_by 'DataCollectFunctionalTests'
> project.build_command = 'ruby RubyLib/testOneRetailerShop.rb'
>
> when 'OneWeek_4Retailers_Production'
> project.triggered_by 'DataCollectFunctionalTests'
> project.build_command = 'ruby RubyLib/runServerTests.rb'
>
> else raise "Don't know what to build for project #{project.name.inspect}"
> end
> end
>
> --
> ?tienne Charignon
> *
> **http://etienne.charignon.free.fr*
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
--
?tienne Charignon
http://etienne.charignon.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070925/e6d771dd/attachment.html
From jamesgol at rogers.com Tue Sep 25 13:14:48 2007
From: jamesgol at rogers.com (James Golick)
Date: Tue, 25 Sep 2007 10:14:48 -0700 (PDT)
Subject: [Cruisecontrolrb-users] "svn error" in daemon mode,
works from command line if root, but not as normal user
Message-ID: <12840940.post@talk.nabble.com>
I've got CC.rb set up as a service under CentOS5. It starts using the init
script provided.
The build runs fine if I do
$ sudo ./cruise build xxx --trace
But not from the daemon, or if I omit the sudo. Then, I get this:
[error] svn: PROPFIND request failed on '/xxx/trunk'
I didn't sudo to add the project, and I chmod -R 777'd everything, just to
be sure.
What's weird is that the daemon is running as root...
Any ideas?
--
View this message in context: http://www.nabble.com/%22svn-error%22-in-daemon-mode%2C-works-from-command-line-if-root%2C-but-not-as-normal-user-tf4502466.html#a12840940
Sent from the CruiseControl.rb - Users mailing list archive at Nabble.com.
From robert.coup at onetrackmind.co.nz Wed Sep 26 01:32:20 2007
From: robert.coup at onetrackmind.co.nz (Robert Coup)
Date: Wed, 26 Sep 2007 17:32:20 +1200
Subject: [Cruisecontrolrb-users] Alternative init.d script for debian-based
systems
Message-ID:
Hi All,
I've written a slightly more mature init script for linux systems that
use start-stop-daemon (debian, ubuntu, etc) which is attached.
Its not perfect by any means, but you can edit
/etc/default/cruisecontrolrb and put in
CCRBUSER=buildmonkey
CCRBDIR=/home/buildmonkey/cruisecontrol.rb
to run ccrb daemon as the buildmonkey user in the above path. It
cleans up mongrel and the builders when stopped, and also supports
restarting.
Tested on Ubuntu Feisty but ymmv...
Cheers,
Rob :)
--
One Track Mind Ltd.
PO Box 1604, Shortland St, Auckland, New Zealand
Phone +64-9-966 0433 Fax +64-9-969 0045
Web http://www.onetrackmind.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070926/9bf1de2d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cruisecontrolrb
Type: application/octet-stream
Size: 4082 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070926/9bf1de2d/attachment.obj
From bwnoll at gmail.com Thu Sep 27 18:06:18 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Thu, 27 Sep 2007 16:06:18 -0600
Subject: [Cruisecontrolrb-users] weird problem - RHEL4 versus Ubuntu 7.04
Message-ID: <46FC295A.1020600@gmail.com>
I've added a project to cc.rb, and modified the config script so that it
runs a shell script that contains the following:
#! /bin/sh
rake RAILS_ENV=test db:migrate
rake RAILS_ENV=test test
Here's my problem. To set the scene, I'm intentionally making a test
fail for the time being.
When I run that script on the Ubuntu machine, and then do a 'echo $?', I
receive an '1' as a response... aka an error code, which is to my way of
thinking, correct... and ends up making the cruise control build fail,
which is what I want.
When I do that exact same thing on the Red Hat machine, the rake test
fails, but then when I do the 'echo $?', I receive a '0' response code
instead of the '1'. This then indicates to cruise control that the
build was good, which is not correct.
Any ideas?
From jeremystellsmith at gmail.com Thu Sep 27 21:29:08 2007
From: jeremystellsmith at gmail.com (Jeremy Stell-Smith)
Date: Thu, 27 Sep 2007 20:29:08 -0500
Subject: [Cruisecontrolrb-users] weird problem - RHEL4 versus Ubuntu 7.04
In-Reply-To: <46FC295A.1020600@gmail.com>
References: <46FC295A.1020600@gmail.com>
Message-ID:
this looks like a ruby issue. Can you upgrade or downgrade the ruby
you're using to the latest version of 1.8.6 or any version of 1.8.5?
On 9/27/07, Bryan Noll wrote:
> I've added a project to cc.rb, and modified the config script so that it
> runs a shell script that contains the following:
>
> #! /bin/sh
> rake RAILS_ENV=test db:migrate
> rake RAILS_ENV=test test
>
> Here's my problem. To set the scene, I'm intentionally making a test
> fail for the time being.
>
> When I run that script on the Ubuntu machine, and then do a 'echo $?', I
> receive an '1' as a response... aka an error code, which is to my way of
> thinking, correct... and ends up making the cruise control build fail,
> which is what I want.
>
> When I do that exact same thing on the Red Hat machine, the rake test
> fails, but then when I do the 'echo $?', I receive a '0' response code
> instead of the '1'. This then indicates to cruise control that the
> build was good, which is not correct.
>
> Any ideas?
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
From bwnoll at gmail.com Fri Sep 28 11:41:16 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Fri, 28 Sep 2007 09:41:16 -0600
Subject: [Cruisecontrolrb-users] weird problem - RHEL4 versus Ubuntu 7.04
In-Reply-To:
References:
Message-ID: <46FD209C.3010200@gmail.com>
This was it... the Ubuntu machine had 1.8.5 on it... the Red Hat machine
had 1.8.6. Is there a patch or anything for this problem... or is the
best solution just to roll back to 1.8.5?
Rolf Russell wrote:
>
> Any chance that you are running ruby 1.8.6 on RedHat? It returns 0
> for failed builds and so doesn't work with cc.rb. Bit of a nasty ruby
> bug.
>
> --Rolf
>
>
>
>
>
>
>
> *Bryan Noll *
> Sent by: cruisecontrolrb-users-bounces at rubyforge.org
>
> 09/27/2007 04:06 PM
>
>
> To
> cruisecontrolrb-users at rubyforge.org
> cc
>
> Subject
> [Cruisecontrolrb-users] weird problem - RHEL4 versus Ubuntu 7.04
>
>
>
>
>
>
>
>
>
> I've added a project to cc.rb, and modified the config script so that it
> runs a shell script that contains the following:
>
> #! /bin/sh
> rake RAILS_ENV=test db:migrate
> rake RAILS_ENV=test test
>
> Here's my problem. To set the scene, I'm intentionally making a test
> fail for the time being.
>
> When I run that script on the Ubuntu machine, and then do a 'echo $?', I
> receive an '1' as a response... aka an error code, which is to my way of
> thinking, correct... and ends up making the cruise control build fail,
> which is what I want.
>
> When I do that exact same thing on the Red Hat machine, the rake test
> fails, but then when I do the 'echo $?', I receive a '0' response code
> instead of the '1'. This then indicates to cruise control that the
> build was good, which is not correct.
>
> Any ideas?
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
From alexey.verkhovsky at gmail.com Fri Sep 28 11:54:50 2007
From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky)
Date: Fri, 28 Sep 2007 09:54:50 -0600
Subject: [Cruisecontrolrb-users] Fwd: weird problem - RHEL4 versus Ubuntu
7.04
In-Reply-To: <3945c4270709280854q437038a0l124b4112136e9197@mail.gmail.com>
References:
<46FD209C.3010200@gmail.com>
<3945c4270709280854q437038a0l124b4112136e9197@mail.gmail.com>
Message-ID: <3945c4270709280854y4ef12a7dlaf3a0868ee0dc40d@mail.gmail.com>
On 9/28/07, Bryan Noll wrote:
> This was it... the Ubuntu machine had 1.8.5 on it... the Red Hat machine
> had 1.8.6. Is there a patch or anything for this problem... or is the
> best solution just to roll back to 1.8.5?
Either that, or upgrade Ruby to 1.8.6 patchlevel 110 (the most recent
1.8.6 patch release)
--
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]
From bwnoll at gmail.com Fri Sep 28 12:16:08 2007
From: bwnoll at gmail.com (Bryan Noll)
Date: Fri, 28 Sep 2007 10:16:08 -0600
Subject: [Cruisecontrolrb-users] weird problem - RHEL4 versus Ubuntu 7.04
In-Reply-To: <3945c4270709280854q437038a0l124b4112136e9197@mail.gmail.com>
References:
<46FD209C.3010200@gmail.com>
<3945c4270709280854q437038a0l124b4112136e9197@mail.gmail.com>
Message-ID: <46FD28C8.2010903@gmail.com>
Cool... thanks a bunch for the help fellas. I'm forwarding this on to
the user list in case someone else out there in the wild runs into the
same problem.
Alexey Verkhovsky wrote:
> On 9/28/07, Bryan Noll wrote:
>
>> This was it... the Ubuntu machine had 1.8.5 on it... the Red Hat machine
>> had 1.8.6. Is there a patch or anything for this problem... or is the
>> best solution just to roll back to 1.8.5?
>>
>
> Either that, or upgrade Ruby to 1.8.6 patchlevel 110 (the most recent
> 1.8.6 patch release)
>
>