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

drs/config.yml or docroot/sites/[site_name]/dr/config.yml not respected when running drush settings #69

Open
pookmish opened this issue Aug 11, 2024 · 0 comments · May be fixed by #70
Open
Labels
bug Something isn't working

Comments

@pookmish
Copy link

Describe the bug
When cloning a project or setting up a new project, the drush settings command does not respect the configured database credentials. It always defaults to the values from vendor/acquia/drupal-recommended-settings/config/build.yml

To Reproduce

  1. create a new project like Drupal 11
  2. Add the acquia/drupal-recommended-settings dependency
  3. create a drs/config.yml file with desired database credentials
  4. run drush settings
  5. verify your desired credentials are not respected with drush sql-connect

Expected behavior
Database config is applied to the local.settings.php

Screenshots
If applicable, add screenshots to help explain your problem.

Environment
Local

Additional context
Add any other context about the problem here.

@pookmish pookmish added the bug Something isn't working label Aug 11, 2024
@pookmish pookmish linked a pull request Aug 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant