test drone :3 miaou^^
continuous-integration/drone/push Build is failing Details

master
Maxime ROCHER 4 months ago
parent 6579826b6b
commit ec69c539f8

@ -1,3 +1,4 @@
kind: pipeline
type: docker
name: deploy-postgresql
@ -17,5 +18,10 @@ steps:
- name: check-database
image: postgres:13
commands:
- sleep 30 # Attendre que la base de données soit prête
- psql -h postgresql -U $POSTGRES_USER -d $POSTGRES_DB -c "SELECT 1;"
- sleep 30 # Waiting for the database to be fully ready
- psql -h postgresql -U $POSTGRES_USER -d $POSTGRES_DB -c "SELECT 1;"
- name: check-postgres-logs
image: postgres:13
commands:
- docker logs postgresql
Loading…
Cancel
Save