Skip to content

Broken Gitlab CI/CD #16

@Spomky

Description

@Spomky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions