chore: use new database credentials by default

Use the new database credentials by default.

The `experimental.useNewDatabaseCredentials` feature flag can be removed
once it's been removed from all `build.yaml` files.
This commit is contained in:
Oliver Davies 2023-11-22 23:34:44 +00:00
parent b1571f3174
commit b32813f4d7
3 changed files with 3 additions and 1 deletions
CHANGELOG.md
resources
src/DataTransferObject

View file

@ -16,3 +16,4 @@
* `App\Enum\Webserver` now returns a string.
* `ConfigurationValidatorTest` no longer performs serialisation.
* Use `set -o errexit` and `set -o pipefail` in `run` scripts instead of `set -eu`.
* Use new database credentials by default.

View file

@ -2,6 +2,6 @@ drupal:
docroot: web
experimental:
useNewDatabaseCredentials: false
useNewDatabaseCredentials: true
project_root: /app

View file

@ -109,6 +109,7 @@ final class Config
'runGitHooksBeforePush' => new Assert\Optional([
new Assert\Type('bool'),
]),
// TODO: remove this when its been removed from all `build.yaml` files.
'useNewDatabaseCredentials' => new Assert\Optional([
new Assert\Type('bool'),
]),