test drone 3
continuous-integration/drone/push Build encountered an error Details

master
Maxime ROCHER 3 months ago
parent f5ace6ba1b
commit 96291af549

@ -30,7 +30,7 @@ steps:
from_secret: db_database from_secret: db_database
commands: commands:
# Attendre que le service PostgreSQL soit disponible # Attendre que le service PostgreSQL soit disponible
- until pg_isready -h mypostgres -U "$POSTGRES_USER"; do sleep 1; done - until pg_isready -h mypostgres -U "$POSTGRES_USER"; do sleep 1; done
# Exécuter le script d'initialisation # Exécuter le script d'initialisation
- psql -h mypostgres -U "$POSTGRES_USER" -d "$POSTGRES_DB" -f init.sql - psql -h mypostgres -U "$POSTGRES_USER" -d "$POSTGRES_DB" -f init.sql

Loading…
Cancel
Save