test deploiement 9
continuous-integration/drone/push Build is passing Details

master
Maxime ROCHER 3 weeks ago
parent 6892abc481
commit 89a84b9ae5

@ -8,7 +8,7 @@ services:
environment: environment:
POSTGRES_DB: wikifantasy3 POSTGRES_DB: wikifantasy3
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: wikifantasy3 POSTGRES_PASSWORD: postgres
ports: ports:
- 5432 - 5432
@ -18,7 +18,7 @@ steps:
environment: environment:
POSTGRES_DB: wikifantasy3 POSTGRES_DB: wikifantasy3
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: wikifantasy3 POSTGRES_PASSWORD: postgres
commands: commands:
- echo "Vérification de la connexion à PostgreSQL" - echo "Vérification de la connexion à PostgreSQL"
- echo "POSTGRES_USER=postgres" - echo "POSTGRES_USER=postgres"
@ -29,4 +29,4 @@ steps:
sleep 2 sleep 2
done done
- echo "PostgreSQL est prêt !" - echo "PostgreSQL est prêt !"
- psql -h postgres -U postgres -d wikifantasy3 -c '\l' - PGPASSWORD="postgres" psql -h postgres -U postgres -d wikifantasy3 -c '\l'
Loading…
Cancel
Save