From ac8221d28a3f83b2170452a3127bd701e42da144 Mon Sep 17 00:00:00 2001 From: Rocher Date: Wed, 6 Nov 2024 18:40:55 +0100 Subject: [PATCH] test drone 10 --- .drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4c371a6..4f976f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,11 +3,6 @@ type: docker name: deploy-postgresql steps: -- name: debug-init-file - image: postgres:latest - commands: - - ls /path/to/ - # Déploiement du container PostgreSQL - name: deploy-container-pgsql image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: @@ -25,7 +20,9 @@ steps: CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE: from_secret: db_database # Nom de la base de données depuis le secret Drone commands: + - ls # Optionnel : Délai pour laisser PostgreSQL démarrer - sleep 10 # Initialisation de la base de données avec un script SQL sur le serveur distant - psql -h localhost -U admin -d dbWikiFantasy -f /path/to/init.sql + \ No newline at end of file