From ef010bab3f5a88f987fe2fd367cc3f81eb8c7e39 Mon Sep 17 00:00:00 2001 From: RemRem et ToTo Date: Fri, 25 Nov 2022 10:36:59 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 87d49a2..a38b5ab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,14 +12,14 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ + - cd blazor/ - dotnet restore Blazor.sln - dotnet build Blazor.sln -c Release --no-restore - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ + - cd blazor/ - dotnet restore Blazor.sln - dotnet test Blazor.sln --no-restore depends_on: [build] @@ -27,7 +27,7 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources/ + - cd blazor/ - dotnet restore Blazor.sln - dotnet sonarscanner begin /k:$REPO_NAME /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN} - dotnet build Blazor.sln -c Release --no-restore @@ -60,7 +60,8 @@ steps: - name: docker-build image: plugins/docker settings: - dockerfile: Sources/Dockerfile + dockerfile: blazor +/Dockerfile context: . registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/my-group/my-application-client