From 20151734110114e258ef95dbee2a839191270ec7 Mon Sep 17 00:00:00 2001 From: Leni BEAULATON Date: Thu, 3 Apr 2025 10:20:55 +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 | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index df1782f..894663d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,32 +1,32 @@ -#kind: pipeline -#type: docker -#name: CI_ApiPm +kind: pipeline +type: docker +name: CI_ApiPm -#trigger: - # event: -# - push -# branch: -# exclude: - # - master +trigger: + event: + - push + branch: + exclude: + - master -#steps: - # - name: retore & build - # image: mcr.microsoft.com/dotnet/sdk:8.0 - # commands: - # - dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release - # depend_on: [clone] +steps: + - name: retore & build + image: mcr.microsoft.com/dotnet/sdk:8.0 + commands: + - dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release + depend_on: [clone] - # - name: test - # image: mcr.microsoft.com/dotnet/sdk:8.0 - # commands: - # - dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj - # depends_on: [retore & build] + - name: test + image: mcr.microsoft.com/dotnet/sdk:8.0 + commands: + - dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj + depends_on: [retore & build] - # - name: publish - # image: mcr.microsoft.com/dotnet/sdk:8.0 - # commands: - # - dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out - # depends_on: [retore & build, test] + - name: publish + image: mcr.microsoft.com/dotnet/sdk:8.0 + commands: + - dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out + depends_on: [retore & build, test] ---