diff --git a/.drone.yml b/.drone.yml index ddbce02..5bbc00d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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;" \ No newline at end of file + - 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 \ No newline at end of file