From ec69c539f8db81b777ec0dcc4d9e2a8ec8ab7138 Mon Sep 17 00:00:00 2001 From: Rocher Date: Thu, 24 Oct 2024 09:40:10 +0200 Subject: [PATCH] test drone :3 miaou^^ --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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