From byron at ublip.com Tue Oct 7 14:50:05 2008 From: byron at ublip.com (Byron Appelt) Date: Tue, 7 Oct 2008 13:50:05 -0500 Subject: [Cruisecontrolrb-users] Fwd: problem with artifacts In-Reply-To: <52dc1dd30810071140h4735e660yba464991becee2cd@mail.gmail.com> References: <52dc1dd30810071140h4735e660yba464991becee2cd@mail.gmail.com> Message-ID: <52dc1dd30810071150i354610d2q5fc4080dfeb3cd18@mail.gmail.com> I am having a problem with having custom artifacts show up. I have the following cruise taks: task :cruise do out = ENV['CC_BUILD_ARTIFACTS'] mkdir_p out unless File.directory? out if out rm_rf 'pkg' Rake::Task["gem"].invoke mv 'pkg', "#{out}" if out end After a build, I can go to command line and see that the gem is getting moved into the artifacts directory, and the 'pkg' link does show up in the webapp under build artifacts. However, when I click on 'pkg' instead of seeing a link to the gem file, I just get a page that says "this should be an index of pkg" What is going on here? Thanks, Byron -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.lightsmith at gmail.com Tue Oct 7 18:36:21 2008 From: jeremy.lightsmith at gmail.com (Jeremy Lightsmith) Date: Tue, 7 Oct 2008 15:36:21 -0700 Subject: [Cruisecontrolrb-users] Fwd: problem with artifacts In-Reply-To: <52dc1dd30810071150i354610d2q5fc4080dfeb3cd18@mail.gmail.com> References: <52dc1dd30810071140h4735e660yba464991becee2cd@mail.gmail.com> <52dc1dd30810071150i354610d2q5fc4080dfeb3cd18@mail.gmail.com> Message-ID: <648eacf20810071536g1d6424dame9d0b53182e54b21@mail.gmail.com> I think what you actually want to do here is copy the actual gem into the build artifacts directory. Cruise guesses that if you copy a directory to the artifact dir, you mean to show an index file from inside of it. If you copy the actual gem to the dir, cruise should give you a link to the actual gem Jeremy On Tue, Oct 7, 2008 at 11:50 AM, Byron Appelt wrote: > I am having a problem with having custom artifacts show up. I have the > following cruise taks: > > task :cruise do > out = ENV['CC_BUILD_ARTIFACTS'] > mkdir_p out unless File.directory? out if out > > rm_rf 'pkg' > Rake::Task["gem"].invoke > mv 'pkg', "#{out}" if out > end > > After a build, I can go to command line and see that the gem is getting > moved into the artifacts directory, and the 'pkg' link does show up in the > webapp under build artifacts. However, when I click on 'pkg' instead of > seeing a link to the gem file, I just get a page that says "this should be > an index of pkg" > > What is going on here? > > Thanks, > > Byron > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From byron at ublip.com Tue Oct 7 21:19:37 2008 From: byron at ublip.com (Byron Appelt) Date: Tue, 7 Oct 2008 20:19:37 -0500 Subject: [Cruisecontrolrb-users] Fwd: problem with artifacts In-Reply-To: <648eacf20810071536g1d6424dame9d0b53182e54b21@mail.gmail.com> References: <52dc1dd30810071140h4735e660yba464991becee2cd@mail.gmail.com> <52dc1dd30810071150i354610d2q5fc4080dfeb3cd18@mail.gmail.com> <648eacf20810071536g1d6424dame9d0b53182e54b21@mail.gmail.com> Message-ID: <52dc1dd30810071819h41c4376al290883e7754b7422@mail.gmail.com> Thanks, that was the problem. On Tue, Oct 7, 2008 at 5:36 PM, Jeremy Lightsmith < jeremy.lightsmith at gmail.com> wrote: > I think what you actually want to do here is copy the actual gem into the > build artifacts directory. Cruise guesses that if you copy a directory to > the artifact dir, you mean to show an index file from inside of it. > > If you copy the actual gem to the dir, cruise should give you a link to the > actual gem > > Jeremy > > On Tue, Oct 7, 2008 at 11:50 AM, Byron Appelt wrote: > >> I am having a problem with having custom artifacts show up. I have the >> following cruise taks: >> >> task :cruise do >> out = ENV['CC_BUILD_ARTIFACTS'] >> mkdir_p out unless File.directory? out if out >> >> rm_rf 'pkg' >> Rake::Task["gem"].invoke >> mv 'pkg', "#{out}" if out >> end >> >> After a build, I can go to command line and see that the gem is getting >> moved into the artifacts directory, and the 'pkg' link does show up in the >> webapp under build artifacts. However, when I click on 'pkg' instead of >> seeing a link to the gem file, I just get a page that says "this should be >> an index of pkg" >> >> What is going on here? >> >> Thanks, >> >> Byron >> >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at mattwynne.net Thu Oct 9 13:28:42 2008 From: matt at mattwynne.net (Matt Wynne) Date: Thu, 9 Oct 2008 18:28:42 +0100 Subject: [Cruisecontrolrb-users] wierd bug with build duration reporting Message-ID: I am writing a little tool to scrape the site and collect stats on the build - duration, number of passing specs etc. I noticed that, consistently, all of the builds that are a repeat build of the same commit (e.g. 7dd97.2) don't report their duration. I'll report it to lighthouse, I just thought it was worth mentioning here. Wierd eh? From xipher1 at gmail.com Thu Oct 9 16:32:58 2008 From: xipher1 at gmail.com (Kevin Willock) Date: Thu, 9 Oct 2008 14:32:58 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB Message-ID: Hi there, I am new here, but haven't seen an archive so I'm sorry if this question has been asked before. I have installed the weplay master from githum, and set up my project via ./cruise add project -r git.project.com:/location -s git The project is checked out fine, but on the cc.rb page, it displays the error "svn_error unknown state" "svn: '.' is not a working copy" And the builder is listed as down. If I do a manual build, it will use the same build # and append a .# to it, and the builder is listed as fine after. Once a new file is pushed to the git repo, the SVN error re-appears... Is there a way to get cc.rb to automatically build, upon a git push? Thanks -k From alexey.verkhovsky at gmail.com Thu Oct 9 16:44:21 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 9 Oct 2008 14:44:21 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: References: Message-ID: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> On Thu, Oct 9, 2008 at 2:32 PM, Kevin Willock wrote: > Is there a way to get cc.rb to automatically build, upon a git push? It's in the works, and will be in the next release. Meantime, there is Ben Burkert's branch that already supports this, and many people use it for the same purpose. Google for "cc.rb git", and the very first hit tells you how to install it: http://codeintensity.blogspot.com/2008/04/setting-up-cruisecontrolrb-withfor-git.html -- Alex From xipher1 at gmail.com Thu Oct 9 16:57:04 2008 From: xipher1 at gmail.com (Kevin Willock) Date: Thu, 9 Oct 2008 14:57:04 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> Message-ID: <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> On 9-Oct-08, at 2:44 PM, Alexey Verkhovsky wrote: > On Thu, Oct 9, 2008 at 2:32 PM, Kevin Willock > wrote: >> Is there a way to get cc.rb to automatically build, upon a git push? > > It's in the works, and will be in the next release. > > Meantime, there is Ben Burkert's branch that already supports this, > and many people use it for the same purpose. > Google for "cc.rb git", and the very first hit tells you how to > install it: http://codeintensity.blogspot.com/2008/04/setting-up-cruisecontrolrb-withfor-git.html Thanks Alexey, do we know when the next release is slated for? I tried those directions initially, but the same problems occurred, I will go through them again. There are lots of benefits towards moving to git, but if we lose CI, then it isn't worthwhile... -k From alexey.verkhovsky at gmail.com Thu Oct 9 18:05:26 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 9 Oct 2008 16:05:26 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> Message-ID: <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> On Thu, Oct 9, 2008 at 2:57 PM, Kevin Willock wrote: > Thanks Alexey, do we know when the next release is slated for? Not really. It can be anywhere between a couple of weeks and a couple of months. > I tried those directions initially, but the same problems occurred That's unfortunate. People are using Ben's branch on projects, as far as I know, so maybe someone else on the list may help you there. Jeremy Lightsmith told me a couple of days ago that he is using CC.rb trunk on a project with Git, after some changes (that he has checked in already), and it works for them. So, if Ben's branch doesn't work for you, perhaps you can try the trunk instead. Sorry for not being very helpful. -- Alex From jeremy.lightsmith at gmail.com Thu Oct 9 18:12:02 2008 From: jeremy.lightsmith at gmail.com (Jeremy Lightsmith) Date: Thu, 9 Oct 2008 15:12:02 -0700 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> Message-ID: <648eacf20810091512s47f9fc84jcbb32b5abd257b53@mail.gmail.com> if you do try trunk, please let us know how it goes, because we are relying on user feedback to get what's on trunk stable enough for a new release! Jeremy On Thu, Oct 9, 2008 at 3:05 PM, Alexey Verkhovsky < alexey.verkhovsky at gmail.com> wrote: > On Thu, Oct 9, 2008 at 2:57 PM, Kevin Willock wrote: > > Thanks Alexey, do we know when the next release is slated for? > Not really. It can be anywhere between a couple of weeks and a couple of > months. > > > I tried those directions initially, but the same problems occurred > > That's unfortunate. People are using Ben's branch on projects, as far > as I know, so maybe someone else on the list may help you there. > > Jeremy Lightsmith told me a couple of days ago that he is using CC.rb > trunk on a project with Git, after some changes (that he has checked > in already), and it works for them. So, if Ben's branch doesn't work > for you, perhaps you can try the trunk instead. > > Sorry for not being very helpful. > > -- Alex > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From xipher1 at gmail.com Thu Oct 9 18:12:38 2008 From: xipher1 at gmail.com (Kevin Willock) Date: Thu, 9 Oct 2008 16:12:38 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> Message-ID: <63930DE7-71C9-440B-AF7E-E2E6ECDDB2D8@gmail.com> Alexey and Jeremy, thanks for the help so far! I got both trunk and Ben's branch working, the problem was with my ssh keys (imagine my embarassment) I am using trunk now, but the problem I am having is that it is not sending emails... Everything else seems to be working just dandy. If you guys have any insight into the email issue in config/site_config.rb: > ActionMailer::Base.smtp_settings = { > :address => "localhost", > :domain => "[domain]", > } The Trace; > executed command : > > echo /var/www/cruise/work/projects/test/work test_deploy > $ ruby -e "require 'rubygems' rescue nil; > require 'rake'; > load '/var/trustme/www/cruise/tasks/cc_build.rake'; > ARGV << '--nosearch' << '--trace' << 'cc:build'; > Rake.application.run; ARGV.clear" >> /var/www/cruise/work/projects/ > test/build-85ca435/build.log && > ruby -e "require 'rubygems' rescue nil; > require 'rake'; load '/var/www/cruise/tasks/cc_build.rake'; > ARGV << '--nosearch' << '--trace' << 'cc:build'; > Rake.application.run; > ARGV.clear" >> /var/www/cruise/work/projects/test/build-85ca435/ > build.log 2>&1 > exitstatus: 1 > STDERR TAIL START > STDERR TAIL END > [debug] ./script/../config/../lib/command_line.rb:146:in > `verify_exit_code' > [debug] ./script/../config/../lib/command_line.rb:95:in `e' > [debug] ./script/../config/../lib/command_line.rb:71:in `execute' > [debug] ./script/../config/../lib/command_line.rb:70:in `chdir' > [debug] ./script/../config/../lib/command_line.rb:70:in `execute' > [debug] ./script/../config/../app/models/build.rb:31:in `run' > [debug] ./script/../config/../app/models/build.rb:185:in `call' > [debug] ./script/../config/../app/models/build.rb:185:in > `in_clean_environment_on_local_copy' > [debug] ./script/../config/../app/models/build.rb:184:in `chdir' > [debug] ./script/../config/../app/models/build.rb:184:in > `in_clean_environment_on_local_copy' > [debug] ./script/../config/../app/models/build.rb:30:in `run' > [debug] ./script/../config/../app/models/project.rb:310:in > `build_without_serialization' > [debug] ./script/../config/../app/models/project.rb:287:in `build' > [debug] ./script/../config/../app/models/project.rb:211:in > `build_if_necessary' > [debug] ./script/../config/../app/models/polling_scheduler.rb: > 13:in `run' > [debug] ./script/builder:79 > [debug] ./script/builder:78:in `catch' > [debug] ./script/builder:78 > [debug] script/../config/../cruise:14:in `load' > [debug] script/../config/../cruise:14:in `builder' > [debug] script/../config/../cruise:68:in `send' > [debug] script/../config/../cruise:68 > [debug] /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' > [debug] /usr/lib/ruby/1.8/fileutils.rb:121:in `cd' > [debug] script/../config/../cruise:67 > Build 85ca435 FAILED > [info] [2008-10-09 15:35:28] Build 85ca435 FAILED > [debug] [2008-10-09 15:35:28] Sleeping And tailing maillog reveals no attempts to send an email. Thoughts? -k On 9-Oct-08, at 4:05 PM, Alexey Verkhovsky wrote: > On Thu, Oct 9, 2008 at 2:57 PM, Kevin Willock > wrote: >> Thanks Alexey, do we know when the next release is slated for? > Not really. It can be anywhere between a couple of weeks and a > couple of months. > >> I tried those directions initially, but the same problems occurred > > That's unfortunate. People are using Ben's branch on projects, as far > as I know, so maybe someone else on the list may help you there. > > Jeremy Lightsmith told me a couple of days ago that he is using CC.rb > trunk on a project with Git, after some changes (that he has checked > in already), and it works for them. So, if Ben's branch doesn't work > for you, perhaps you can try the trunk instead. > > Sorry for not being very helpful. > > -- Alex > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From alexey.verkhovsky at gmail.com Thu Oct 9 18:24:12 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 9 Oct 2008 16:24:12 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <63930DE7-71C9-440B-AF7E-E2E6ECDDB2D8@gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> <63930DE7-71C9-440B-AF7E-E2E6ECDDB2D8@gmail.com> Message-ID: <3945c4270810091524l16056e13i5b606284de032f6@mail.gmail.com> On Thu, Oct 9, 2008 at 4:12 PM, Kevin Willock wrote: > And tailing maillog reveals no attempts to send an email. > Thoughts? What is your cruise_config.rb look like? -- Alex From xipher1 at gmail.com Thu Oct 9 18:27:04 2008 From: xipher1 at gmail.com (Kevin Willock) Date: Thu, 9 Oct 2008 16:27:04 -0600 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <3945c4270810091524l16056e13i5b606284de032f6@mail.gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> <63930DE7-71C9-440B-AF7E-E2E6ECDDB2D8@gmail.com> <3945c4270810091524l16056e13i5b606284de032f6@mail.gmail.com> Message-ID: <8A9156B0-A001-4270-8EE2-BD2DB84EF376@gmail.com> It's pretty simple > Project.configure do |project| > project.email_notifier.emails = ['email at address.com'] > project.email_notifier.from = 'cruise at address.com' > project.scheduler.polling_interval = 5.minutes > end -k On 9-Oct-08, at 4:24 PM, Alexey Verkhovsky wrote: > On Thu, Oct 9, 2008 at 4:12 PM, Kevin Willock > wrote: >> And tailing maillog reveals no attempts to send an email. >> Thoughts? > > What is your cruise_config.rb look like? > > -- Alex > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From matt at mattwynne.net Fri Oct 10 04:00:06 2008 From: matt at mattwynne.net (Matt Wynne) Date: Fri, 10 Oct 2008 09:00:06 +0100 Subject: [Cruisecontrolrb-users] Using GIT w/CC.RB In-Reply-To: <648eacf20810091512s47f9fc84jcbb32b5abd257b53@mail.gmail.com> References: <3945c4270810091344j56fdebabv8e09bd14083c76fa@mail.gmail.com> <251B90A2-5918-4164-8E37-1BFA39B7983F@gmail.com> <3945c4270810091505g7ac88ad6ye7386c4517e5a9c@mail.gmail.com> <648eacf20810091512s47f9fc84jcbb32b5abd257b53@mail.gmail.com> Message-ID: We're using it at songkick and it's going fine - thanks for your efforts Jeremy, especially to get the commit messages in there. Now we know who to blame, which is the main thing ;) I guess my only negative feedback is that some support for submodules (automatically doing git submodule init / update after pulling) would be nice, but we're happy doing that manually as and when required. On 9 Oct 2008, at 23:12, Jeremy Lightsmith wrote: > if you do try trunk, please let us know how it goes, because we are > relying on user feedback to get what's on trunk stable enough for a > new release! > > Jeremy > > On Thu, Oct 9, 2008 at 3:05 PM, Alexey Verkhovsky > wrote: > On Thu, Oct 9, 2008 at 2:57 PM, Kevin Willock > wrote: > > Thanks Alexey, do we know when the next release is slated for? > Not really. It can be anywhere between a couple of weeks and a > couple of months. > > > I tried those directions initially, but the same problems occurred > > That's unfortunate. People are using Ben's branch on projects, as far > as I know, so maybe someone else on the list may help you there. > > Jeremy Lightsmith told me a couple of days ago that he is using CC.rb > trunk on a project with Git, after some changes (that he has checked > in already), and it works for them. So, if Ben's branch doesn't work > for you, perhaps you can try the trunk instead. > > Sorry for not being very helpful. > > -- Alex > _______________________________________________ > 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 matt at mattwynne.net Fri Oct 10 13:55:08 2008 From: matt at mattwynne.net (Matt Wynne) Date: Fri, 10 Oct 2008 18:55:08 +0100 Subject: [Cruisecontrolrb-users] Configuring a project with no trigger Message-ID: I'd like to have a build project for deploying our app to production, but obviously I don't want it to be triggered automatically. I tried setting the project.scheduler.polling_interval to something massive, but it complained it had to be max 24 hours. I tried setting the project.schduler to nil but it didn't seem to like it. Can this be done? cheers, Matt From alexey.verkhovsky at gmail.com Fri Oct 10 15:18:50 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Fri, 10 Oct 2008 13:18:50 -0600 Subject: [Cruisecontrolrb-users] Configuring a project with no trigger In-Reply-To: References: Message-ID: <3945c4270810101218vf36a87fh330f77f2dbe4f03f@mail.gmail.com> Try putting project.triggered_by = [] in cruise_config.rb. That should do the trick. Also, if you look through project.rb, you'll notice that decision to trigger the build is made Project#build_necessary?. So you can even just override that method itself in cruise_config.rb: class << project def build_necessary? false end end Note, however, that unlike project.triggered_by= (which is part of a documented configuration API surface), the freestyle hacking of internals is only guaranteed to work until you try to upgrade your CC.rb version to the next release. So, beware. -- Alex From matt at mattwynne.net Sat Oct 11 02:36:16 2008 From: matt at mattwynne.net (Matt Wynne) Date: Sat, 11 Oct 2008 07:36:16 +0100 Subject: [Cruisecontrolrb-users] Configuring a project with no trigger In-Reply-To: <3945c4270810101218vf36a87fh330f77f2dbe4f03f@mail.gmail.com> References: <3945c4270810101218vf36a87fh330f77f2dbe4f03f@mail.gmail.com> Message-ID: <9BF837A4-0F81-4148-BD49-DECF9A73A37D@mattwynne.net> On 10 Oct 2008, at 20:18, Alexey Verkhovsky wrote: > Try putting project.triggered_by = [] in cruise_config.rb. That should > do the trick. That worked a treat. Thanks Alexey. From mi-ccrb at underpantsgnome.com Sat Oct 11 15:51:49 2008 From: mi-ccrb at underpantsgnome.com (Michael Moen) Date: Sat, 11 Oct 2008 14:51:49 -0500 Subject: [Cruisecontrolrb-users] Odd behavior from builder running in CentOS 5.2/Passenger Message-ID: <01F66D70-3DCA-4C81-9D7D-5B1CF4B2115E@underpantsgnome.com> I know this isn't really the right pace for this, but I am in the process of building a new CC.rb box and builds that run fine on the old one are failing on the new one. Old Box: CentOS release 4.4 (Final) Apache/2.0.52 passenger-2.0.2 New Box: CentOS release 5.2 (Final) Apache/2.2.3 passenger-2.0.3 Here's the error: /home/deploy/.cruise/projects/bort/work root$ ruby -e require 'rubygems' rescue nil sh: ruby: command not found Does anybody know where I would need to look to get the environment loaded when the builder is started? running rake cruise works fine and running ./cruise start all works fine. Thanks in advance, Michael From thewoolleyman at gmail.com Sat Oct 11 20:03:54 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Sat, 11 Oct 2008 17:03:54 -0700 Subject: [Cruisecontrolrb-users] Odd behavior from builder running in CentOS 5.2/Passenger In-Reply-To: <01F66D70-3DCA-4C81-9D7D-5B1CF4B2115E@underpantsgnome.com> References: <01F66D70-3DCA-4C81-9D7D-5B1CF4B2115E@underpantsgnome.com> Message-ID: On Sat, Oct 11, 2008 at 12:51 PM, Michael Moen wrote: > Does anybody know where I would need to look to get the environment loaded > when the builder is started? > > running rake cruise works fine and running ./cruise start all works fine. > Seems like ruby isn't on the path, but it's strange that cruise would start in that case but your project would fail. Is this only when it is run on system startup, or when you start it manually from the local user as well? If this is only on startup, it may be your init script not setting up env right. I did some work on the daemon script in the ccrb source - it is debian-specific, but it should be easy to convert to redhat/centos http://github.com/thoughtworks/cruisecontrol.rb/tree/master/daemon If this is happening when you run ./cruise manually from the local user, that is a stranger problem. If all else fails, debug by echoing out your system path and environment in various places, that will probably get you closer to the cause. If you find out what is up with the path when your project runs, you can just symlink ruby to wherever it needs to be in order to be found. -- Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: From tegtmeye at eecis.udel.edu Thu Oct 16 18:22:29 2008 From: tegtmeye at eecis.udel.edu (Mike Tegtmeyer) Date: Thu, 16 Oct 2008 18:22:29 -0400 (EDT) Subject: [Cruisecontrolrb-users] git cruisecontrol and rss Message-ID: Hello, Nice job. Looking at some of the archives I noticed that you were soliciting feedback from folks using git with HEAD. Just setup cruisecontrol using the latest source and was able to use it against a bare git repository without any problems. One comment I would like to make though: I've just moved from gforge to redmine. There is a plugin in redmine called simple_ci with reports the results of CI builds via RSS. The developers point to cruisecontrol as the backend but after setting things up, it seems that cruisecontrol only reports the latest build attempt via RSS which is not all that useful in redmine. So the simple question is: am I missing something or is there no way to enable the last 'n' build attempts in a rss feed? Again, thanks for the great job, Mike Tegtmeyer From matt at mattwynne.net Tue Oct 21 13:08:37 2008 From: matt at mattwynne.net (Matt Wynne) Date: Tue, 21 Oct 2008 18:08:37 +0100 Subject: [Cruisecontrolrb-users] multiple simultaneous builds Message-ID: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> Chaos. Is it possible to prevent ccrb from doing more than one build at once for a given project? Because of the lovely database dependency of our rails model specs (and, I guess, the acceptance tests too) our build is failing when someone pushes before the last build finished, as they're fighting over the same database. Is there a config setting to prevent this, and make the second build wait its turn? By the way - since we switched to the throughtworks main fork for git integration, we've had not a whisper of the crazy repeated builds problem - flawless performance. Great work guys. cheers, Matt From thewoolleyman at gmail.com Wed Oct 22 00:41:11 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 21 Oct 2008 21:41:11 -0700 Subject: [Cruisecontrolrb-users] multiple simultaneous builds In-Reply-To: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> Message-ID: On Tue, Oct 21, 2008 at 10:08 AM, Matt Wynne wrote: > Is there a config setting to prevent this, and make the second build wait > its turn? > I think this is what you want in your site_config.rb: # If you want to only allow one project to build at a time, uncomment this line # by default, cruise allows multiple projects to build at a time Configuration.serialize_builds = true This is in the default site_config.rb, but commented. -- Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.lightsmith at gmail.com Wed Oct 22 00:43:47 2008 From: jeremy.lightsmith at gmail.com (Jeremy Lightsmith) Date: Tue, 21 Oct 2008 21:43:47 -0700 Subject: [Cruisecontrolrb-users] multiple simultaneous builds In-Reply-To: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> Message-ID: <648eacf20810212143i5cc7e296q3be0bedad836a1e@mail.gmail.com> yup, there's a line you can uncomment in site_config.rb (which should be in ~/.cruise/site_config.rb) it should look like: Configuration.serialize_builds = true glad to hear that the thoughtworks repos is doing well for you! Jeremy On Tue, Oct 21, 2008 at 10:08 AM, Matt Wynne wrote: > Chaos. > > Is it possible to prevent ccrb from doing more than one build at once for a > given project? Because of the lovely database dependency of our rails model > specs (and, I guess, the acceptance tests too) our build is failing when > someone pushes before the last build finished, as they're fighting over the > same database. > > Is there a config setting to prevent this, and make the second build wait > its turn? > > By the way - since we switched to the throughtworks main fork for git > integration, we've had not a whisper of the crazy repeated builds problem - > flawless performance. Great work guys. > > cheers, > Matt > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailing_lists at bengreenberg.net Wed Oct 22 00:49:29 2008 From: mailing_lists at bengreenberg.net (Ben Greenberg) Date: Wed, 22 Oct 2008 00:49:29 -0400 Subject: [Cruisecontrolrb-users] Is there a way to have different configurations of the same project? In-Reply-To: References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> Message-ID: <48FEB0D9.8050304@bengreenberg.net> Hi guys, Let me first say that CC.rb is a great tool and I have been using is successfully. I am wondering if there is a way to have more than one build possibility for a single code base without having to set up a second project. The manual hints at this with the "MyProject.Quick" and "MyProject.BigBertha" examples when showing how to use case project.name, but the only way I have gotten this to work is to set up a separate project using the same source repo. Is this possible to do? Thanks, Ben From thewoolleyman at gmail.com Wed Oct 22 01:23:37 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 21 Oct 2008 22:23:37 -0700 Subject: [Cruisecontrolrb-users] Is there a way to have different configurations of the same project? In-Reply-To: <48FEB0D9.8050304@bengreenberg.net> References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> <48FEB0D9.8050304@bengreenberg.net> Message-ID: On Tue, Oct 21, 2008 at 9:49 PM, Ben Greenberg < mailing_lists at bengreenberg.net> wrote: > I am wondering if there is a way to have more than one build possibility > for a single code base without having to set up a second project. The > manual hints at this with the "MyProject.Quick" and "MyProject.BigBertha" > examples when showing how to use case project.name, but the only way I > have gotten this to work is to set up a separate project using the same > source repo. > First, I would ask why you don't want to set up a second project? That's definitely the easiest way. If you want to use the same project, you could switch on some other variable besides project name (time of day, day of week, phase of the moon). However, that would be kind of wierd, from the standpoint of having a consistent build. The specific downside is if a build is green then goes red, you don't know if something broke in your smaller suite, or if something broke in your bigger suite - at least not without looking at the build output. -- Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at mattwynne.net Wed Oct 22 03:21:16 2008 From: matt at mattwynne.net (Matt Wynne) Date: Wed, 22 Oct 2008 08:21:16 +0100 Subject: [Cruisecontrolrb-users] multiple simultaneous builds In-Reply-To: References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> Message-ID: On 22 Oct 2008, at 05:41, Chad Woolley wrote: > On Tue, Oct 21, 2008 at 10:08 AM, Matt Wynne > wrote: > Is there a config setting to prevent this, and make the second build > wait its turn? > > I think this is what you want in your site_config.rb: > > # If you want to only allow one project to build at a time, > uncomment this line > # by default, cruise allows multiple projects to build at a time > Configuration.serialize_builds = true Thanks guys. I guess this isn't too much of an issue for us, as we only have two projects, but that doesn't actually look like exactly what I want. I don't care if two different projects build simultaneously, I just don't want two builds *for the same project* to be running at the same time. Does that make sense? Is the setting actually doing this, and just not clearly documented? Or are we missing a feature? cheers, Matt From mailing_lists at bengreenberg.net Wed Oct 22 08:12:25 2008 From: mailing_lists at bengreenberg.net (Ben Greenberg) Date: Wed, 22 Oct 2008 08:12:25 -0400 Subject: [Cruisecontrolrb-users] Is there a way to have different configurations of the same project? In-Reply-To: References: <4244175C-753D-4695-81EF-B84BA817ABFD@mattwynne.net> <48FEB0D9.8050304@bengreenberg.net> Message-ID: <48FF18A9.6090309@bengreenberg.net> Thanks, Chad. What I am really after is the feature in TeamCity that allows you to have different "configurations" of each project. Each configuration is basically a sub-project under the main project, and can call a different script or target in a script. But they share the same source code checkout and are logically grouped. So for example you might have Project Foo with Release and Debug configurations that are all grouped together on the console screen. I can of course achieve the same thing using separate projects, which is what I am doing, and that works fine. Ben Chad Woolley wrote: > On Tue, Oct 21, 2008 at 9:49 PM, Ben Greenberg > > wrote: > > I am wondering if there is a way to have more than one build > possibility for a single code base without having to set up a > second project. The manual hints at this with the > "MyProject.Quick" and "MyProject.BigBertha" examples when showing > how to use case project.name , but the only > way I have gotten this to work is to set up a separate project > using the same source repo. > > > First, I would ask why you don't want to set up a second project? > That's definitely the easiest way. > > If you want to use the same project, you could switch on some other > variable besides project name (time of day, day of week, phase of the > moon). However, that would be kind of wierd, from the standpoint of > having a consistent build. The specific downside is if a build is > green then goes red, you don't know if something broke in your smaller > suite, or if something broke in your bigger suite - at least not > without looking at the build output. > > -- Chad > > ------------------------------------------------------------------------ > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wizard at acm.org Thu Oct 30 00:03:02 2008 From: wizard at acm.org (Troy Gillette) Date: Wed, 29 Oct 2008 21:03:02 -0700 Subject: [Cruisecontrolrb-users] Controlling email notifications Message-ID: <902E9082-17C0-4FD8-8866-323B95F46737@acm.org> On the Java version of Cruise Control, I am able to have emails sent to the people who did the last check ins when the build breaks as well as a list of people who are always notified. CruiseControl.rb seems to do the latter with the project.email_notifier.emails array, but I cannot see how to do the former. Is there already a way to do this, or can someone point me in the direction of the class to extend to support this? Thanks. -Troy