From da6534249fda39faf06014fbb996c85f2af00bfe Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 3 Apr 2025 16:46:57 +0200 Subject: [PATCH 1/2] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 304a509..70d62a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -156,7 +156,7 @@ steps: - cd WF_EF_Api/StubbedContextLib - dotnet tool install --global dotnet-ef - export PATH="$PATH:/root/.dotnet/tools" - - dotnet ef database update + - dotnet ef database update --connection "Server=;Database=;User Id=;Password=;" depends_on: [deploy-api-db,deploy-auth-db,deploy-test-db] - name: publish-to-registry From 344c2b8a61b16031857c116283f5441c39620398 Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 3 Apr 2025 16:52:11 +0200 Subject: [PATCH 2/2] =?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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 70d62a3..c42e575 100644 --- a/.drone.yml +++ b/.drone.yml @@ -152,11 +152,12 @@ steps: from_secret: POSTGRES_USER_AUTH PASSWORD: from_secret: POSTGRES_PASSWORD_AUTH + 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 "Server=;Database=;User Id=;Password=;" + - dotnet ef database update --connection "Data Source=DB_PATH_AUTH;" depends_on: [deploy-api-db,deploy-auth-db,deploy-test-db] - name: publish-to-registry