Answer the question
In order to leave comments, you need to log in
How drone works?
Hello.
The project uses Symfony. If the connection to the database is broken, then when calling the symfony console, errors are always thrown about this.
Previously, I used drone to build the project, but I decided to transfer everything to gitlab and ran into a problem with the build.
Drone config file:
pipeline:
prebuild:
image: ...
commands:
- ...
- composer install --no-interaction --ansi --no-suggest --prefer-dist
- bin/console <любая команда>
prebuild:
image: ...
stage: prebuild
script:
- composer install --no-interaction --ansi --no-suggest --prefer-dist
- bin/console <любая команда>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question