From 1f6dfeefc474072cc0040c1082af7fe186075db8 Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 3 Apr 2025 18:15:00 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index fb7811a..814da10 100644 --- a/.drone.yml +++ b/.drone.yml @@ -146,19 +146,12 @@ steps: - name: update-database image: mcr.microsoft.com/dotnet/sdk:8.0 - DB_SERVER: "WhatTheFantasy-wtf-api" - DB_NAME: - from_secret: POSTGRES_DB_API - USER_ID: - from_secret: POSTGRES_USER_API - PASSWORD: - from_secret: POSTGRES_PASSWORD_API #DB_PATH_AUTH: "WhatTheFantasy-wtf-api-auth" commands: - cd WF_EF_Api/StubbedContextLib - dotnet tool install --global dotnet-ef - export PATH="$PATH:/root/.dotnet/tools" - - dotnet ef database update --connection "Host=codefirst.iut.uca.fr;Database=$${DB_NAME};Username=$${DB_USER};Password=$${DB_PASSWORD};" + - dotnet ef database update --connection "Host=WhatTheFantasy-wtf-api-test;Database=wtf-test;Username=test;Password=test;" depends_on: [deploy-api-db,deploy-auth-db,deploy-test-db] - name: publish-to-registry