Compare commits

..

13 Commits
v1.0 ... master

Author SHA1 Message Date
Rémi LAVERGNE b6a592f1da Final correction for the CI
continuous-integration/drone/push Build is passing Details
10 months ago
Rémi LAVERGNE eb91f4e449 Correction for the CI
continuous-integration/drone/push Build is failing Details
10 months ago
Rémi LAVERGNE 501ae61df2 Correction for the CI
continuous-integration/drone/push Build is failing Details
10 months ago
Rémi LAVERGNE a794b8177e Creating a second Visual solution for CI/CD purpose
continuous-integration/drone/push Build encountered an error Details
10 months ago
Rémi LAVERGNE 1b5ef4eff5 Deleting the MAUI build step of the CI
continuous-integration/drone/push Build encountered an error Details
10 months ago
Rémi LAVERGNE 2bab4ce84b Deleting the MAUI build step of the CI
continuous-integration/drone/push Build is failing Details
10 months ago
Rémi LAVERGNE ff464f0ec4 Deleting the clean step of the CI
continuous-integration/drone/push Build encountered an error Details
10 months ago
Rémi LAVERGNE 1a7756f955 Test on the Drone CI
continuous-integration/drone/push Build was killed Details
10 months ago
Rémi LAVERGNE 0b3d9f0476 CI commit
continuous-integration/drone/push Build is failing Details
10 months ago
Rémi LAVERGNE ce7d35d000 Change in the .drone.yml tests coverage analysis
continuous-integration/drone/push Build is failing Details
10 months ago
Rémi LAVERGNE 30454bcd59 Correction du README
continuous-integration/drone/push Build is passing Details
12 months ago
Yvan CALATAYUD 66912e9f26 Mise à jour de 'README.md'
continuous-integration/drone/push Build is passing Details
2 years ago
Yvan CALATAYUD 416b962f88 Mise à jour de 'README.md'
continuous-integration/drone/push Build is failing Details
2 years ago

@ -10,23 +10,24 @@ trigger:
- push
steps:
- name: build
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
- name: build-Models
image: mcr.microsoft.com/dotnet/sdk:7.0
commands:
- cd Sources/GameAtlas/
- dotnet restore GameAtlas.sln
- dotnet build GameAtlas.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
- cd Sources/GameAtlas/Models
- dotnet restore
- dotnet build -c Release --no-restore
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- name: tests
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
image: mcr.microsoft.com/dotnet/sdk:7.0
commands:
- cd Sources/GameAtlas/
- dotnet restore GameAtlas.sln
- dotnet test GameAtlas.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
depends_on: [build]
- cd Sources/GameAtlas
- dotnet restore GameAtlas-CI.sln
- dotnet test GameAtlas-CI.sln --no-restore
depends_on: [build-Models]
- name: code-analysis
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet7-maui
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet7
secrets: [ SECRET_SONAR_LOGIN ]
settings:
# accessible en ligne de commande par ${PLUGIN_SONAR_HOST}
@ -35,13 +36,13 @@ steps:
sonar_token:
from_secret: SECRET_SONAR_LOGIN
commands:
- cd Sources/GameAtlas/
- dotnet restore GameAtlas.sln
- dotnet sonarscanner begin /k:"GameAtlas" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet build GameAtlas.sln -c Release --no-restore
- dotnet test GameAtlas.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
- reportgenerator -reports:"Tests/TestResults/**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
- dotnet publish GameAtlas/GameAtlas.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
- cd Sources/GameAtlas
- dotnet restore GameAtlas-CI.sln
- dotnet sonarscanner begin /k:"GameAtlas" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**"
- dotnet build GameAtlas-CI.sln -c Release --no-restore
- dotnet test GameAtlas-CI.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 GameAtlas-CI.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
depends_on: [tests]
@ -55,4 +56,4 @@ steps:
- master
event:
- push
depends_on: [ build, tests ]
depends_on: [ build-Models, tests ]

@ -1,6 +1,6 @@
# GameAtlas - L'appli pour naviguer dans l'univers du jeu-vidéo
[![Build Status](https://codefirst.iut.uca.fr/api/badges/remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD/status.svg)](https://codefirst.iut.uca.fr/remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD)
[![Build Status](https://codefirst.iut.uca.fr/api/badges/remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CATALAYUD/status.svg)](https://codefirst.iut.uca.fr/remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CATALAYUD)
[![Quality Gate Status](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=GameAtlas&metric=alert_status&token=dab862cd544e2d7a114dfdbc13397b261fe52a5b)](https://codefirst.iut.uca.fr/sonar/dashboard?id=GameAtlas)
[![Bugs](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=GameAtlas&metric=bugs&token=dab862cd544e2d7a114dfdbc13397b261fe52a5b)](https://codefirst.iut.uca.fr/sonar/dashboard?id=GameAtlas)
[![Coverage](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=GameAtlas&metric=coverage&token=dab862cd544e2d7a114dfdbc13397b261fe52a5b)](https://codefirst.iut.uca.fr/sonar/dashboard?id=GameAtlas)
@ -18,7 +18,7 @@ Yvan Calatayud - Groupe 10
- Votre profil de gamer
**Lien Notion:**
~~https://www.notion.so/sae201/a53f08c8dc9c43689eb7424fbb86fd7e?v=59b677739dbe4d2c9e190af42dc5efc4&pvs=4~~
Fonctionnement par tickets.
**Vidéo de présentation:**
https://opencast.dsi.uca.fr/paella/ui/watch.html?id=8424a41b-fe49-4df4-853e-707c08261b6b

@ -0,0 +1,43 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31611.283
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Models", "Models\Models.csproj", "{0B50E976-EC7C-4A88-96DA-632162084160}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{6DD3E0DA-035C-411E-ABB4-794181D25A72}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataContractPersistance", "DataContractPersistance\DataContractPersistance.csproj", "{B8902707-9F3B-41D0-8D5C-72ABED9323C2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stub", "Stub\Stub.csproj", "{A6BAE3C5-B7EB-4090-9050-65721F861DD4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0B50E976-EC7C-4A88-96DA-632162084160}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B50E976-EC7C-4A88-96DA-632162084160}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B50E976-EC7C-4A88-96DA-632162084160}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B50E976-EC7C-4A88-96DA-632162084160}.Release|Any CPU.Build.0 = Release|Any CPU
{6DD3E0DA-035C-411E-ABB4-794181D25A72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6DD3E0DA-035C-411E-ABB4-794181D25A72}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6DD3E0DA-035C-411E-ABB4-794181D25A72}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6DD3E0DA-035C-411E-ABB4-794181D25A72}.Release|Any CPU.Build.0 = Release|Any CPU
{B8902707-9F3B-41D0-8D5C-72ABED9323C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8902707-9F3B-41D0-8D5C-72ABED9323C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8902707-9F3B-41D0-8D5C-72ABED9323C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8902707-9F3B-41D0-8D5C-72ABED9323C2}.Release|Any CPU.Build.0 = Release|Any CPU
{A6BAE3C5-B7EB-4090-9050-65721F861DD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A6BAE3C5-B7EB-4090-9050-65721F861DD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A6BAE3C5-B7EB-4090-9050-65721F861DD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A6BAE3C5-B7EB-4090-9050-65721F861DD4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572}
EndGlobalSection
EndGlobal
Loading…
Cancel
Save