Broken Gitlab CI/CD
Hi,
With a fresh new project deployed on Gitlab, the pipelines throws the following error:
cp: can't stat '.env.dist': No such file or directory
It looks like it is caused by the following lines:
- https://github.com/mykiwi/symfony-bootstrapped/blob/master/.gitlab-ci.yml#L16
- https://github.com/mykiwi/symfony-bootstrapped/blob/master/.gitlab-ci.yml#L22
I will be happy to create a PR, but I am not sure which env file to use. The .env.dist is gone and now there are several new env files.
Moreover, with a .env.dist copied from .env, the images can be built, but functional test fail because of an issue with the DB (with #15 included and correct DATABASE_URL value). The error is:
Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: "An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'db_name'" at /srv/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93
For this error, it seems that the DB created and migrations are not executed (as well as the fixtures).