From 98338341303c562ddbc85e1d171024c22e99dcda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:26:09 +0100 Subject: [PATCH 1/7] Doc --- .drone.yml | 38 ++++++++++++++++--- .../Interface/IEquipeRepository.cs | 28 ++++++++++++++ .../Interface/IJoueurRepository.cs | 37 ++++++++++++++++++ .../Interface/IpartieRepository.cs | 8 ++++ Sources/Mapper/FrameProfile.cs | 3 ++ Sources/Mapper/JoueurProfile.cs | 3 ++ Sources/Mapper/PartieProfile.cs | 3 ++ 7 files changed, 114 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index b5c4089..1ee27af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,18 +13,28 @@ steps: - name: docs path: /docs commands: - - cd Sources/ - dotnet restore Solution.sln - dotnet build Solution.sln -c Release --no-restore - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - name: tests - image: mcr.microsoft.com/dotnet/sdk:6.0 + - name: code-analysis + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources/ - dotnet restore Solution.sln - - dotnet test Solution.sln --no-restore - depends_on: [build] + - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet build Solution.sln -c Release --no-restore + - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" + - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SECRET_SONAR_LOGIN ] + settings: + # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} + sonar_host: https://codefirst.iut.uca.fr/sonar/ + # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} + sonar_token: + from_secret: SECRET_SONAR_LOGIN + depends_on: [tests] - name: generate-and-deploy-docs image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer @@ -40,7 +50,23 @@ steps: branch: - master depends_on: [ build ] + + - name: docker-build + image: plugins/docker + settings: + dockerfile: Sources/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowlingapi + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + when: + branch: + - master volumes: - name: docs temp: {} + diff --git a/Sources/BowlingRepository/Interface/IEquipeRepository.cs b/Sources/BowlingRepository/Interface/IEquipeRepository.cs index c0d3ef9..3508c6c 100644 --- a/Sources/BowlingRepository/Interface/IEquipeRepository.cs +++ b/Sources/BowlingRepository/Interface/IEquipeRepository.cs @@ -2,11 +2,39 @@ namespace BowlingRepository.Interface; +/// +/// Interface de gestion des équipes +/// public interface IEquipeRepository { + /// + /// Méthode d'ajout d'une équipe + /// + /// l'équipe à ajouter public void Add(EquipeEntity equipe); + + /// + /// Méthode de mise à jour d'une équipe + /// + /// l'équipe à mettre à jour public void Update(EquipeEntity equipe); + + /// + /// Méthode de suppression d'une équipe + /// + /// l'équipe à supprimer public void Delete(EquipeEntity equipe); + + /// + /// Méthode de récupération d'une équipe + /// + /// l'id de l'équipe à récupérer + /// l'équipe public Task GetEquipe(int id); + + /// + /// Méthode de récupération de toutes les équipes + /// + /// la liste des équipes public IEnumerable GetAllEquipes(); } \ No newline at end of file diff --git a/Sources/BowlingRepository/Interface/IJoueurRepository.cs b/Sources/BowlingRepository/Interface/IJoueurRepository.cs index fe87bb9..2384ea8 100644 --- a/Sources/BowlingRepository/Interface/IJoueurRepository.cs +++ b/Sources/BowlingRepository/Interface/IJoueurRepository.cs @@ -2,12 +2,49 @@ using BowlingEF.Entities; namespace BowlingRepository.Interface; +/// +/// Interface de gestion des joueurs +/// public interface IJoueurRepository { + /// + /// Méthode d'ajout d'un joueur + /// + /// le joueur à ajouter + /// le joueur ajouté public Task Add(JoueurEntity joueur); + + /// + /// Méthode de suppression d'un joueur + /// + /// l'id du joueur à supprimer + /// le joueur supprimé public Task Delete(long id); + + /// + /// Méthode de mise à jour d'un joueur + /// + /// le joueur à mettre à jour + /// le joueur mis à jour public Task Update(JoueurEntity joueur); + + /// + /// Méthode de récupération d'un joueur + /// + /// l'id du joueur à récupérer + /// le joueur public Task GetJoueur(long id); + + /// + /// Méthode de récupération de tous les joueurs + /// + /// la liste des joueurs public Task> GetAllJoueur(); + + /// + /// Méthode de récupération d'un joueur par son nom + /// + /// le nom du joueur à récupérer + /// le joueur public Task GetJoueurByNom(string nom); } \ No newline at end of file diff --git a/Sources/BowlingRepository/Interface/IpartieRepository.cs b/Sources/BowlingRepository/Interface/IpartieRepository.cs index a1d2df6..bda8b5b 100644 --- a/Sources/BowlingRepository/Interface/IpartieRepository.cs +++ b/Sources/BowlingRepository/Interface/IpartieRepository.cs @@ -3,8 +3,16 @@ using BowlingEF.Entities; namespace BowlingRepository.Interface { + /// + /// Interface de gestion des parties + /// public interface IpartieRepository { + /// + /// Méthode d'ajout d'une partie + /// + /// la partie à ajouter + /// public Task Add(PartieEntity _partie); public Task Delete(long id); public Task Update(PartieEntity _partie); diff --git a/Sources/Mapper/FrameProfile.cs b/Sources/Mapper/FrameProfile.cs index ceecdd1..b3acf46 100644 --- a/Sources/Mapper/FrameProfile.cs +++ b/Sources/Mapper/FrameProfile.cs @@ -4,6 +4,9 @@ using DTOs; namespace Mapper; +/// +/// Profile de mapping entre les FrameDTOs et les FrameEntity +/// public class FrameProfile:Profile { public FrameProfile() diff --git a/Sources/Mapper/JoueurProfile.cs b/Sources/Mapper/JoueurProfile.cs index 3f24031..05c5ccc 100644 --- a/Sources/Mapper/JoueurProfile.cs +++ b/Sources/Mapper/JoueurProfile.cs @@ -4,6 +4,9 @@ using DTOs; namespace Mapper; +/// +/// Profile de mapping entre les JoueurDTOs et les JoueurEntity +/// public class JoueurProfile:Profile { public JoueurProfile() diff --git a/Sources/Mapper/PartieProfile.cs b/Sources/Mapper/PartieProfile.cs index 3305846..12f4282 100644 --- a/Sources/Mapper/PartieProfile.cs +++ b/Sources/Mapper/PartieProfile.cs @@ -4,6 +4,9 @@ using DTOs; namespace Mapper; +/// +/// Profile de mapping entre les PartieDTOs et les PartieEntity +/// public class PartieProfile:Profile { public PartieProfile() From 21263d5793f29e18cc60102216a963993b5e8e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:28:37 +0100 Subject: [PATCH 2/7] co --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1ee27af..a09e3a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,7 +34,7 @@ steps: # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} sonar_token: from_secret: SECRET_SONAR_LOGIN - depends_on: [tests] + #depends_on: [tests] - name: generate-and-deploy-docs image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer From bcd7a7bfb926a606b2326e87610f4fd13428f466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:39:56 +0100 Subject: [PATCH 3/7] commit --- .drone.yml | 121 ++++++++++++++++++++++++++++------------------------- 1 file changed, 65 insertions(+), 56 deletions(-) diff --git a/.drone.yml b/.drone.yml index a09e3a3..055510e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,64 +7,73 @@ trigger: - push steps: - - name: build - image: mcr.microsoft.com/dotnet/sdk:6.0 - volumes: - - name: docs - path: /docs - commands: - - dotnet restore Solution.sln - - dotnet build Solution.sln -c Release --no-restore - - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - name: build + image: mcr.microsoft.com/dotnet/sdk:6.0 + volumes: + - name: docs + path: /docs + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet build Solution.sln -c Release --no-restore + - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - name: code-analysis - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 - commands: - - dotnet restore Solution.sln - - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - - dotnet build Solution.sln -c Release --no-restore - - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - secrets: [ SECRET_SONAR_LOGIN ] - settings: - # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} - sonar_host: https://codefirst.iut.uca.fr/sonar/ - # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} - sonar_token: - from_secret: SECRET_SONAR_LOGIN - #depends_on: [tests] + - name: tests + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet test Solution.sln --no-restore + depends_on: [ build ] - - name: generate-and-deploy-docs - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer - failure: ignore - volumes: - - name: docs - path: /docs - commands: - #- cd Documentation/doxygen - #- doxygen Doxyfile - - /entrypoint.sh - when: - branch: - - master - depends_on: [ build ] - - - name: docker-build - image: plugins/docker - settings: - dockerfile: Sources/Dockerfile - context: . - registry: hub.codefirst.iut.uca.fr - repo: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowlingapi - username: - from_secret: SECRET_REGISTRY_USERNAME - password: - from_secret: SECRET_REGISTRY_PASSWORD - when: - branch: - - master + - name: code-analysis + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet build Solution.sln -c Release --no-restore + - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" + - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SECRET_SONAR_LOGIN ] + settings: + # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} + sonar_host: https://codefirst.iut.uca.fr/sonar/ + # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} + sonar_token: + from_secret: SECRET_SONAR_LOGIN + depends_on: [ tests ] + + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: + #- cd Documentation/doxygen + #- doxygen Doxyfile + - /entrypoint.sh + when: + branch: + - master + depends_on: [ build ] + - name: docker-build + image: plugins/docker + settings: + dockerfile: Sources/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/victor_perez.ngounou/bowlingapi + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + when: + branch: + - master volumes: - name: docs From aba004cb1e2a4ada9817a44c13ca4de25477a01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:43:32 +0100 Subject: [PATCH 4/7] push --- .drone.yml | 81 +++++++++++++++++++++++++++--------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/.drone.yml b/.drone.yml index 055510e..2716a3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,48 +18,49 @@ steps: - dotnet build Solution.sln -c Release --no-restore - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - name: tests - image: mcr.microsoft.com/dotnet/sdk:6.0 - commands: - - cd Sources/ - - dotnet restore Solution.sln - - dotnet test Solution.sln --no-restore - depends_on: [ build ] + - name: tests + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet test Solution.sln --no-restore + depends_on: [ build ] - - name: code-analysis - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 - commands: - - cd Sources/ - - dotnet restore Solution.sln - - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - - dotnet build Solution.sln -c Release --no-restore - - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - secrets: [ SECRET_SONAR_LOGIN ] - settings: - # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} - sonar_host: https://codefirst.iut.uca.fr/sonar/ - # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} - sonar_token: - from_secret: SECRET_SONAR_LOGIN - depends_on: [ tests ] + - name: code-analysis + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet build Solution.sln -c Release --no-restore + - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" + - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SECRET_SONAR_LOGIN ] + settings: + # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} + sonar_host: https://codefirst.iut.uca.fr/sonar/ + # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} + sonar_token: + from_secret: SECRET_SONAR_LOGIN + depends_on: [ tests ] - - name: generate-and-deploy-docs - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer - failure: ignore - volumes: - - name: docs - path: /docs - commands: - #- cd Documentation/doxygen - #- doxygen Doxyfile - - /entrypoint.sh - when: - branch: - - master - depends_on: [ build ] + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: + #- cd Documentation/doxygen + #- doxygen Doxyfile + - /entrypoint.sh + when: + branch: + - master + depends_on: [ build ] + - name: docker-build image: plugins/docker settings: From 20bfcfb6b409dbe30fe0db80f32e682d91d74c04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:45:13 +0100 Subject: [PATCH 5/7] annother push --- .drone.yml | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2716a3e..ff4dc5e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,33 +18,33 @@ steps: - dotnet build Solution.sln -c Release --no-restore - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - name: tests - image: mcr.microsoft.com/dotnet/sdk:6.0 - commands: - - cd Sources/ - - dotnet restore Solution.sln - - dotnet test Solution.sln --no-restore - depends_on: [ build ] + - name: tests + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet test Solution.sln --no-restore + depends_on: [ build ] - - name: code-analysis - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 - commands: - - cd Sources/ - - dotnet restore Solution.sln - - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - - dotnet build Solution.sln -c Release --no-restore - - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - secrets: [ SECRET_SONAR_LOGIN ] - settings: - # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} - sonar_host: https://codefirst.iut.uca.fr/sonar/ - # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} - sonar_token: - from_secret: SECRET_SONAR_LOGIN - depends_on: [ tests ] + - name: code-analysis + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 + commands: + - cd Sources/ + - dotnet restore Solution.sln + - dotnet sonarscanner begin /k:BowlingScoreApp /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**,BowlingApp/**,BowlingEF/**,Business/**,BowlingMaping/**,BowlingStub/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet build Solution.sln -c Release --no-restore + - dotnet test Solution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" + - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SECRET_SONAR_LOGIN ] + settings: + # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} + sonar_host: https://codefirst.iut.uca.fr/sonar/ + # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} + sonar_token: + from_secret: SECRET_SONAR_LOGIN + depends_on: [ tests ] - name: generate-and-deploy-docs image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer From 626598de90cb338a8156a61c084d1f1655a6689a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:48:06 +0100 Subject: [PATCH 6/7] Documentation --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index ff4dc5e..ab5154c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,8 +53,8 @@ steps: - name: docs path: /docs commands: - #- cd Documentation/doxygen - #- doxygen Doxyfile + - cd Documentation/doxygen + - doxygen Doxyfile - /entrypoint.sh when: branch: @@ -75,6 +75,7 @@ steps: when: branch: - master + depends_on: [ tests ] volumes: - name: docs From 5dc4da89f998fe186f7ac3884df5414a5600fdf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20P=C3=A9rez=20Ngounou?= Date: Fri, 10 Feb 2023 11:52:42 +0100 Subject: [PATCH 7/7] Add Authentification --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index ab5154c..c253659 100644 --- a/.drone.yml +++ b/.drone.yml @@ -81,3 +81,4 @@ volumes: - name: docs temp: {} +