From ed87c0a42b56faf10d9f91f8b68f35d5993bb244 Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 3 Apr 2025 16:10:18 +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 | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index b53c597..969979a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -115,10 +115,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: POSTGRES_DB_API ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: deploy-auth-db image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -134,10 +130,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: POSTGRES_DB_AUTH ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: deploy-test-db image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -150,10 +142,6 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER: "test" CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: "wtf-test" ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 - commands: - - cd WF_EF_Api/StubbedContextLib - - dotnet tool install --global dotnet-ef - - dotnet ef database update - name: publish-to-registry image: plugins/docker @@ -202,3 +190,7 @@ steps: ADMINS: kentinbrongniart,lenibeaulaton,kevinmondejar,louisguichard-montguers,maximerocher,tommynguyen2 depends_on: [restore & build, test, code-inspection, publish, publish-to-registry] + commands: + - cd WF_EF_Api/StubbedContextLib + - dotnet tool install --global dotnet-ef + - dotnet ef database update