From 60379e0a75cd1370c3e84e3253a93c29f44194e6 Mon Sep 17 00:00:00 2001 From: baollier1 Date: Fri, 3 Mar 2023 14:28:56 +0100 Subject: [PATCH 1/2] add log to delete champion --- Sources/apiLOL/Controllers/ControllerChampions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/apiLOL/Controllers/ControllerChampions.cs b/Sources/apiLOL/Controllers/ControllerChampions.cs index 337e44c..caf6594 100644 --- a/Sources/apiLOL/Controllers/ControllerChampions.cs +++ b/Sources/apiLOL/Controllers/ControllerChampions.cs @@ -105,6 +105,8 @@ namespace apiLOL.Controllers [HttpDelete("{name}")] public async Task Delete(String name) { + _logger.LogInformation($"methode Delete de ControllerChampions appelée avec le paramètre name: {name}"); + try { var champ = (await data.ChampionsMgr.GetItemsByName(name, 0, 1)).First(); From d41e6ada1760661e5d65547655ea348feb706f20 Mon Sep 17 00:00:00 2001 From: Nathan BOILEAU Date: Fri, 3 Mar 2023 14:31:34 +0100 Subject: [PATCH 2/2] =?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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index a26e3ae..8d111e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,6 +31,14 @@ steps: password: from_secret: SECRET_REGISTRY_PASSWORD + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/bastien.ollier/lol:latest + CONTAINERNAME: container_lol + COMMAND: create + OVERWRITE: true + - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: