Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for database configuration before running the deploy #4

Open
dkingofpa opened this issue Jul 3, 2012 · 1 comment
Open

Check for database configuration before running the deploy #4

dkingofpa opened this issue Jul 3, 2012 · 1 comment
Assignees
Milestone

Comments

@dkingofpa
Copy link

More than once, I've run drush-deploy forgetting to put the database config out there. It happily runs through make and copies the result out to the server only to find that there isn't a database configuration available. Could we fail fast in the case that a database config does not exist?

/usr/local/rvm/gems/ruby-1.9.2-p320/gems/drush-deploy-1.0.9/lib/drush_deploy/database.rb:166:in `throw': uncaught throw #<DrushDeploy::Database::ConfigNotFound: Couldn't locate database configuration default/default. Please check your database configuration.> (ArgumentError)
@medlefsen
Copy link
Member

This is an easy fix. I'll include this in 1.1 as well.

Thanks

On Mon 02 Jul 2012 08:43:37 PM EDT, David King wrote:

More than once, I've run drush-deploy forgetting to put the database config out there. It happily runs through make and copies the result out to the server only to find that there isn't a database configuration available. Could we fail fast in the case that a database config does not exist?

/usr/local/rvm/gems/ruby-1.9.2-p320/gems/drush-deploy-1.0.9/lib/drush_deploy/database.rb:166:in `throw': uncaught throw #<DrushDeploy::Database::ConfigNotFound: Couldn't locate database configuration default/default. Please check your database configuration.> (ArgumentError)

Reply to this email directly or view it on GitHub:
#4

@ghost ghost assigned medlefsen Jul 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants