ln
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 16:49:13 +01:00
parent ef43c8352b
commit c413acd6a6
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ steps:
- name: backend - name: backend
image: composer:2.1.14 image: composer:2.1.14
commands: commands:
- cd backend && composer install && composer dump-autoload --classmap-authoritative && composer dump-env prod - ln -s /drone/src /var/www && cd /var/www/backend && composer install && composer dump-autoload --classmap-authoritative && composer dump-env prod
- name: frontend - name: frontend
image: node:16.13.1-alpine image: node:16.13.1-alpine

5
backend/composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "1231c51ce4f96688b51ec516139c3e84", "content-hash": "b6264c0532b682141c3364cef8ce2aad",
"packages": [ "packages": [
{ {
"name": "doctrine/annotations", "name": "doctrine/annotations",
@ -3353,7 +3353,8 @@
"platform": { "platform": {
"php": ">=8.0.2", "php": ">=8.0.2",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*" "ext-iconv": "*",
"ext-redis": "*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.1.0" "plugin-api-version": "2.1.0"

View File

@ -26,7 +26,7 @@ services:
Redis: Redis:
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes # you can also use \RedisArray, \RedisCluster or \Predis\Client classes
class: \Redis class: Redis
calls: calls:
- connect: - connect:
- '%env(REDIS_HOST)%' - '%env(REDIS_HOST)%'