mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +00:00
Remove feature flag for different database credentials
This commit is contained in:
parent
f602b6e1e6
commit
3d0a8215f9
|
@ -6,6 +6,5 @@ php:
|
|||
|
||||
experimental:
|
||||
runStaticAnalysisOnTests: false
|
||||
useNewDatabaseCredentials: true
|
||||
|
||||
project_root: /app
|
||||
|
|
|
@ -131,11 +131,6 @@ final class ConfigDto
|
|||
'runStaticAnalysisOnTests' => 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'),
|
||||
]),
|
||||
],
|
||||
)]
|
||||
public array $experimental;
|
||||
|
|
|
@ -9,12 +9,6 @@ export COMPOSE_PROFILES=web,php,database
|
|||
export DOCKER_WEB_VOLUME=.:{{ project_root }}
|
||||
{% endif %}
|
||||
|
||||
{% if experimental.useNewDatabaseCredentials %}
|
||||
export MYSQL_DATABASE=app
|
||||
export MYSQL_PASSWORD=app
|
||||
export MYSQL_USER=app
|
||||
{% else %}
|
||||
export MYSQL_DATABASE=drupal
|
||||
export MYSQL_PASSWORD=drupal
|
||||
export MYSQL_USER=drupal
|
||||
{% endif %}
|
||||
|
|
|
@ -32,6 +32,3 @@ dockerfile:
|
|||
- composer install
|
||||
extra_directories:
|
||||
- assets
|
||||
|
||||
experimental:
|
||||
useNewDatabaseCredentials: true
|
||||
|
|
Loading…
Reference in a new issue