From 9922a67ad49170b43910c5429354c21bc823051b Mon Sep 17 00:00:00 2001 From: Tony Fages Date: Tue, 2 Apr 2024 08:42:34 +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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 67a04e0..b489d73 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,6 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - - cd Verax_API_EF - cd Verax_API_EF - dotnet restore Verax_API_EF.sln - dotnet build Verax_API_EF.sln -c Release --no-restore @@ -19,7 +18,6 @@ steps: - name: tests image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - - cd Verax_API_EF - cd Verax_API_EF - dotnet restore Verax_API_EF.sln - dotnet test Verax_API_EF.sln --no-restore @@ -34,7 +32,6 @@ steps: from_secret: SECRET_SONAR_LOGIN # Secret de Drone project_key: Verax_API_EF commands: - - cd Verax_API_EF/ - cd Verax_API_EF/ - dotnet restore Verax_API_EF.sln - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Unit_Test_EF/**","API_Unit_Test/**","API_Tests_Console/**","Test_Console_EF/**","DbContextLib/Migrations/**","StubbedContextLib/**","API/Program.cs" /d:sonar.login=$${sonar_token} @@ -65,6 +62,7 @@ steps: when: branch: - master + - rebase - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest