From 2d0a40806fc731a3c6880227eda7962bfc51c929 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Fri, 25 Nov 2022 10:34:20 +0100 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 | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8e3bbc9..9782770 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,7 @@ steps: - dotnet restore CI_MAUI.sln - dotnet build CI_MAUI.sln -c Release --no-restore - dotnet publish CI_MAUI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: @@ -22,6 +23,7 @@ steps: - dotnet restore CI_MAUI.sln - dotnet test CI_MAUI.sln --no-restore depends_on: [build] + - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: @@ -42,15 +44,6 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN depends_on: [tests] - # database container deployment - - name: deploy-container-mysql - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest - environment: - IMAGENAME: postgres - CONTAINERNAME: mysql - COMMAND: create - PRIVATE: true - POSTGRES_PASSWORD: oui - name: deploy-container-mysql image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest