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

Make config sources (drupal.drush, drupal.settings) configurable #158

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

geek-merlin
Copy link

OPENEUROPA-XXX

Description

We're doing deployment with variable drupal.settings config sources (like deploy.target.FOO.settings).

Change log

  • Added:
    • Make drupal.drush configurable
    • Make drupal.settings configurable
    • Make (throw-if-missing) configurable

Commands

$ vendor/bin/run help drupal:drush-setup
Description:
  Write Drush configuration files to given directories.

Usage:
  drupal:drush-setup [options]

Options:
      --root=ROOT                          Drupal root. [default: "web"]
      --config-dir=CONFIG-DIR              Directory where to store Drush 9 configuration file. [default: "web/drush"]
      --config-source[=CONFIG-SOURCE]      Config path of drush settings to write. [default: "drupal.drush"]
      --fail-on-missing[=FAIL-ON-MISSING]  Fail on missing config-source. [default: true]
      --no-fail-on-missing                 Negate --fail-on-missing option.
 ...


$ vendor/bin/run help drupal:settings-setup
Description:
  Setup Drupal settings overrides.

Usage:
  drupal:settings-setup [options]

Options:
      --root=ROOT                                      Drupal root. [default: "web"]
      --sites-subdir=SITES-SUBDIR                      Drupal site subdirectory. [default: "default"]
      --settings-override-file=SETTINGS-OVERRIDE-FILE  Drupal site settings override filename. [default: "settings.override.php"]
      --config-source[=CONFIG-SOURCE]                  Config path of contents to write. [default: "drupal.settings"]
      --fail-on-missing[=FAIL-ON-MISSING]              Fail on missing config-source. [default: true]
      --force                                          Drupal force generation of a new settings.php.
      --skip-permissions-setup                         Drupal skip permissions setup.
      --no-fail-on-missing                             Negate --fail-on-missing option.
  ...

@geek-merlin
Copy link
Author

Worksforme in manual tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant