Skip to content

Commit

Permalink
be more specific with repo roots in settings for different envs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfinnarn committed Jan 19, 2024
1 parent 98a3e8b commit 46df63d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docroot/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@
$settings['va_gov_web_root'] = '/var/www/cms/web';
$settings['va_gov_app_root'] = '/var/www/cms';
$settings['va_gov_vets_website_root'] = '/var/www/cms/docroot/vendor/va-gov/vets-website';

// @todo Add the next build root to the settings.
// For a workaround, I cloned the next-build repo into the docroot/vendor/va-gov/next-build directory.
$settings['va_gov_next_build_root'] = '/var/www/html/docroot/vendor/va-gov/next-build';

// Defaults (should only be local that doesn't set these), default to dev for config_split
Expand Down
2 changes: 2 additions & 0 deletions docroot/sites/default/settings/settings.local.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
$settings['va_gov_app_root'] = getenv('DDEV_APPROOT');
$settings['va_gov_web_root'] = getenv('DDEV_APPROOT') . '/web';
$settings['va_gov_vets_website_root'] = getenv('DDEV_APPROOT') . '/docroot/vendor/va-gov/vets-website';
// @todo Figure out why
//$settings['va_gov_next_build_root'] = getenv('DDEV_APPROOT') . '/next';

$settings['memcache']['servers'] = [
'memcached:11211' => 'default',
Expand Down
1 change: 1 addition & 0 deletions docroot/sites/default/settings/settings.tugboat.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
$settings['va_gov_app_root'] = getenv('TUGBOAT_ROOT');
$settings['va_gov_web_root'] = getenv('TUGBOAT_ROOT') . '/web';
$settings['va_gov_vets_website_root'] = getenv('TUGBOAT_ROOT') . '/docroot/vendor/va-gov/vets-website';
$settings['va_gov_next_build_root'] = getenv('TUGBOAT_ROOT') . '/next';

$settings['memcache']['servers'] = [
'memcache:11211' => 'default',
Expand Down

0 comments on commit 46df63d

Please sign in to comment.