slash
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 14:08:56 +01:00
parent d18f9c34a3
commit dde29a26d8
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
3 changed files with 3 additions and 10 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 && bin/console cache:clear --env=prod && bin/console cache:warmup --env=prod - cd backend && composer install && composer dump-autoload --classmap-authoritative
- name: frontend - name: frontend
image: node:16.13.1-alpine image: node:16.13.1-alpine

View File

@ -26,7 +26,8 @@ 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)%'

View File

@ -53,12 +53,4 @@ class PregController extends AbstractController
return JsonResponse::fromJsonString($json); return JsonResponse::fromJsonString($json);
} }
#[Route('/api/ppii', name: 'api_ppii', methods: ["GET"])]
public function ppii(): Response
{
ob_start();
phpinfo();
return new Response(ob_get_clean());
}
} }