#203 new
Gavin

Cannot find database.yml

Reported by Gavin | April 4th, 2010 @ 07:33 AM

Hi,

I've very new to Integrity CI. I've install Integrity on Nginx + Passenger.

It's running but when I try to build from a git repo, I got the following error message:

rake aborted!
No such file or directory - /var/www/webapps/integrity/builds/4/config/database.yml

(See full trace by running task with --trace)

(in /var/www/webapps/integrity/builds/4)

how can I configure such that I could config the database.yml setting of my project?

Comments and changes to this ticket

  • Jeff Whitmire

    Jeff Whitmire May 27th, 2010 @ 12:02 AM

    Here's how I fixed this issue for my project. I created a config/database.yml.ci which has the database configuration I need Integrity to use. Then I created the attached file in lib/tasks/ci.rake creating the ci:copy_db_config rake task that will copy it to the right place. The last step is to put that rake task first in the project configuration for the build step before your regular stuff. For example mine reads: rake ci:copy_db_config spec cucumber:ok

    That did it for me, hope that helps.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Attachments

Pages