From 6ea0dc13a82f246c1861c5e6ba8da58dd9a427ef Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Sun, 7 Jan 2024 11:46:46 +0100 Subject: [PATCH] small fixes to test image build speed --- common/entrypoint_mautic_web.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/entrypoint_mautic_web.sh b/common/entrypoint_mautic_web.sh index 3724edb..902fa95 100644 --- a/common/entrypoint_mautic_web.sh +++ b/common/entrypoint_mautic_web.sh @@ -22,8 +22,8 @@ $parameters = array( 'db_table_prefix' => null, 'db_backup_tables' => 1, 'db_backup_prefix' => 'bak_', - 'messenger_dsn_email' => 'doctrine://default', - 'messenger_dsn_hit' => 'doctrine://default', + 'messenger_dsn_email' => 'doctrine://default', + 'messenger_dsn_hit' => 'doctrine://default', ); EOF fi @@ -31,7 +31,8 @@ fi # prepare mautic with test data if [ "$MAUTIC_LOAD_TEST_DATA" = "true" ]; then su -s /bin/bash www-data -c 'php /var/www/html/bin/console doctrine:migrations:sync-metadata-storage' - su -s /bin/bash www-data -c 'php /var/www/html/bin/console mautic:install --force --admin_email willchange@mautic.org --admin_password willchange http://localhost' + # mautic installation with dummy password and email, as the next step (doctrine:fixtures:load) will overwrite those + su -s /bin/bash www-data -c 'php /var/www/html/bin/console mautic:install --force --admin_email willchange@mautic.org --admin_password willchange http://localhost' su -s /bin/bash www-data -c 'php /var/www/html/bin/console doctrine:fixtures:load -n' fi