Cruise not ignoring plugins folder

View: New views
8 Messages — Rating Filter:   Alert me  

Cruise not ignoring plugins folder

by marcelo.ribeiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I have been trying to find on the web a solution to my issue, but no success.
I have installed cruisecontrolrb and set it up with a custom cruise.rake file in my project.
Such file is invoking test:units and test:functionals, and also features rake task, for cucumber.

All the tests pass, 0 failures, etc. But at the end of it, it tries to run plugin tests, requiring extra gems, libs, etc.
Is it possible to somehow configure it so that it ignores the plugins tests?

Thanks in advance,

- Marcelo

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 6:44 AM, Marcelo Ribeiro
<ribeirodesenv@...> wrote:

> Hi All
>
> I have been trying to find on the web a solution to my issue, but no
> success.
> I have installed cruisecontrolrb and set it up with a custom cruise.rake
> file in my project.
> Such file is invoking test:units and test:functionals, and also features
> rake task, for cucumber.
>
> All the tests pass, 0 failures, etc. But at the end of it, it tries to run
> plugin tests, requiring extra gems, libs, etc.
> Is it possible to somehow configure it so that it ignores the plugins tests?

Does it run the plugin tests if you run your cruise.rake task manually?
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by marcelo.ribeiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes

It runs them all, and pretty well. No errors, failures, etc.

- Marcelo

On Fri, Oct 23, 2009 at 5:12 PM, Chad Woolley <thewoolleyman@...> wrote:
On Fri, Oct 23, 2009 at 6:44 AM, Marcelo Ribeiro
<ribeirodesenv@...> wrote:
> Hi All
>
> I have been trying to find on the web a solution to my issue, but no
> success.
> I have installed cruisecontrolrb and set it up with a custom cruise.rake
> file in my project.
> Such file is invoking test:units and test:functionals, and also features
> rake task, for cucumber.
>
> All the tests pass, 0 failures, etc. But at the end of it, it tries to run
> plugin tests, requiring extra gems, libs, etc.
> Is it possible to somehow configure it so that it ignores the plugins tests?

Does it run the plugin tests if you run your cruise.rake task manually?
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users


_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 10:09 AM, Marcelo Ribeiro
<ribeirodesenv@...> wrote:
> Yes
>
> It runs them all, and pretty well. No errors, failures, etc.

ccrb runs the cruise task in your cruise.rake (or whatever task you
have overridden).  If you don't want plugins to run via cruise, change
this task, and verify that they don't run when you invoke the task
from the command line.
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by Brian Moseley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 11:33 AM, Chad Woolley <thewoolleyman@...> wrote:

> ccrb runs the cruise task in your cruise.rake (or whatever task you
> have overridden).  If you don't want plugins to run via cruise, change
> this task, and verify that they don't run when you invoke the task
> from the command line.

if you take a look at my message to this list from Sep 24, you'll see
that the same thing is happening to me when run via cruise, even
though it doesn't happen when I run the same task at the command line.
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 11:51 AM, Brian Moseley <bcm@...> wrote:

> On Fri, Oct 23, 2009 at 11:33 AM, Chad Woolley <thewoolleyman@...> wrote:
>
>> ccrb runs the cruise task in your cruise.rake (or whatever task you
>> have overridden).  If you don't want plugins to run via cruise, change
>> this task, and verify that they don't run when you invoke the task
>> from the command line.
>
> if you take a look at my message to this list from Sep 24, you'll see
> that the same thing is happening to me when run via cruise, even
> though it doesn't happen when I run the same task at the command line.

It may be a bug then.  If you can get a minimally reproducible case
with a dummy rails app, please open a bug on lighthouse with
instructions to reproduce.
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by marcelo.ribeiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This may be hard to do because I think it somehow depends on the plugin....
I am not sure...

On Fri, Oct 23, 2009 at 10:01 PM, Chad Woolley <thewoolleyman@...> wrote:
On Fri, Oct 23, 2009 at 11:51 AM, Brian Moseley <bcm@...> wrote:
> On Fri, Oct 23, 2009 at 11:33 AM, Chad Woolley <thewoolleyman@...> wrote:
>
>> ccrb runs the cruise task in your cruise.rake (or whatever task you
>> have overridden).  If you don't want plugins to run via cruise, change
>> this task, and verify that they don't run when you invoke the task
>> from the command line.
>
> if you take a look at my message to this list from Sep 24, you'll see
> that the same thing is happening to me when run via cruise, even
> though it doesn't happen when I run the same task at the command line.

It may be a bug then.  If you can get a minimally reproducible case
with a dummy rails app, please open a bug on lighthouse with
instructions to reproduce.
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users


_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@...
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Re: Cruise not ignoring plugins folder

by Ivan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the same issue. My build fails because it tries to run the tests in vendor/plugins/paperclip and fails to require test/helper.rb.
When I run manually rake cruise in the work folder of cruisecontrol.rb, only my application tests are run.
marcelo.ribeiro wrote:
This may be hard to do because I think it somehow depends on the plugin....
I am not sure...

On Fri, Oct 23, 2009 at 10:01 PM, Chad Woolley <thewoolleyman@gmail.com>wrote:

> On Fri, Oct 23, 2009 at 11:51 AM, Brian Moseley <bcm@maz.org> wrote:
> > On Fri, Oct 23, 2009 at 11:33 AM, Chad Woolley <thewoolleyman@gmail.com>
> wrote:
> >
> >> ccrb runs the cruise task in your cruise.rake (or whatever task you
> >> have overridden).  If you don't want plugins to run via cruise, change
> >> this task, and verify that they don't run when you invoke the task
> >> from the command line.
> >
> > if you take a look at my message to this list from Sep 24, you'll see
> > that the same thing is happening to me when run via cruise, even
> > though it doesn't happen when I run the same task at the command line.
>
> It may be a bug then.  If you can get a minimally reproducible case
> with a dummy rails app, please open a bug on lighthouse with
> instructions to reproduce.
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users