Hi all
I have set up CruiseControl.rb on an Ubuntu box, and all seems to be working
quite well at present. However, I am not sure how best to approach the issue
of using database settings specific to the CC server and not storing these
anywhere in the source control repository. I read an article at
http://blog.lrdesign.com/2010/02/howto-setting-up-cruisecontrol-rb-on-slicehost/
which suggest you make the following change to the cruise_config.rb file:
project.build_command = 'rake
ci:run[localhost,root,<YOUR_MYSQL_ROOT_PASSWORD>,<DATABASE_NAME>] --trace
RAILS_ENV=test'
The problem I have with that is that in order to get CC working with Bundler
I've created a build_my_app.sh shell script and have that referenced in the
build command. In that file I have something along the lines of
bundle install
ruby -e "require 'rubygems' rescue nil; require 'rake'; load
'/Users/matt/cruisecontrol/tasks/cc_build.rake'; ARGV << '--nosearch' <<
'cc:build'; Rake.application.run; ARGV.clear"
So where and how do I inject database settings specific for this CC server?
Sorry if I am asking stupid questions, but I'm only one day into using
CruiseControl.rb.
Thanks,
Matthew O'Riordan
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users