Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Gitlab CI/CD #16

Open
Spomky opened this issue Aug 28, 2019 · 0 comments
Open

Broken Gitlab CI/CD #16

Spomky opened this issue Aug 28, 2019 · 0 comments

Comments

@Spomky
Copy link
Contributor

Spomky commented Aug 28, 2019

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:

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant