master
Justine MEURET 2 years ago
parent d7b9cb678e
commit 4d5d64e5a8

@ -1,17 +1,76 @@
kind: pipeline
type: docker
name: HtmlCssTest
trigger:
event:
- push
steps:
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host:
from_secret: sonar_host
sonar_token:
from_secret: sonar_token
kind: pipeline
type: docker
name: default
trigger:
event:
- push
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/
- dotnet restore MySolution.sln
- dotnet build MySolution.sln -c Release --no-restore
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/
- dotnet restore MySolution.sln
- dotnet test MySolution.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 MySolution.sln
- dotnet sonarscanner begin /k:$REPO_NAME /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN}
- dotnet build MySolution.sln -c Release --no-restore
- dotnet test MySolution.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 MySolution.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:
- /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/my-group/my-application-client
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
when:
branch:
- master
# The volumes declaration appear at the end of the file, after all steps
volumes:
- name: docs
temp: {}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj": {}
"U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj": {}
},
"projects": {
"U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj": {
"U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj",
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj",
"projectName": "BlazorTP",
"projectPath": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj",
"projectPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj",
"packagesPath": "C:\\Users\\jumeuret\\.nuget\\packages\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\obj\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"

@ -8,101 +8,101 @@ build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = BlazorTP
build_property.RootNamespace = BlazorTP
build_property.ProjectDir = U:\IUT\Blazor\BlazorRepository\BlazorTP\
build_property.ProjectDir = U:\IUT\Blazor\BlazorTPRepository\BlazorTP\
build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = U:\IUT\Blazor\BlazorRepository\BlazorTP
build_property.MSBuildProjectDirectory = U:\IUT\Blazor\BlazorTPRepository\BlazorTP
build_property._RazorSourceGeneratorDebug =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/App.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/App.razor]
build_metadata.AdditionalFiles.TargetPath = QXBwLnJhem9y
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Components/Card.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Components/Card.razor]
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50c1xDYXJkLnJhem9y
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Components/ShowItems.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Components/ShowItems.razor]
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50c1xTaG93SXRlbXMucmF6b3I=
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Modals/DeleteConfirmation.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Modals/DeleteConfirmation.razor]
build_metadata.AdditionalFiles.TargetPath = TW9kYWxzXERlbGV0ZUNvbmZpcm1hdGlvbi5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/Add.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/Add.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQWRkLnJhem9y
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/BlazorRoute.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/BlazorRoute.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQmxhem9yUm91dGUucmF6b3I=
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/Counter.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/Counter.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ291bnRlci5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/CreateLog.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/CreateLog.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcQ3JlYXRlTG9nLnJhem9y
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/Edit.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/Edit.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcRWRpdC5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/FetchData.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/FetchData.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcRmV0Y2hEYXRhLnJhem9y
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/Index.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/Index.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcSW5kZXgucmF6b3I=
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/List.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/List.razor]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcTGlzdC5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Shared/Config.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Shared/Config.razor]
build_metadata.AdditionalFiles.TargetPath = U2hhcmVkXENvbmZpZy5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Shared/CultureSelector.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Shared/CultureSelector.razor]
build_metadata.AdditionalFiles.TargetPath = U2hhcmVkXEN1bHR1cmVTZWxlY3Rvci5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Shared/SurveyPrompt.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Shared/SurveyPrompt.razor]
build_metadata.AdditionalFiles.TargetPath = U2hhcmVkXFN1cnZleVByb21wdC5yYXpvcg==
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/_Imports.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/_Imports.razor]
build_metadata.AdditionalFiles.TargetPath = X0ltcG9ydHMucmF6b3I=
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Components/Crafting.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Components/Crafting.razor]
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50c1xDcmFmdGluZy5yYXpvcg==
build_metadata.AdditionalFiles.CssScope = b-1065ealyrk
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Components/CraftingItem.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Components/CraftingItem.razor]
build_metadata.AdditionalFiles.TargetPath = Q29tcG9uZW50c1xDcmFmdGluZ0l0ZW0ucmF6b3I=
build_metadata.AdditionalFiles.CssScope = b-uili6i74vy
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Shared/MainLayout.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Shared/MainLayout.razor]
build_metadata.AdditionalFiles.TargetPath = U2hhcmVkXE1haW5MYXlvdXQucmF6b3I=
build_metadata.AdditionalFiles.CssScope = b-uyo2roal2f
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Shared/NavMenu.razor]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Shared/NavMenu.razor]
build_metadata.AdditionalFiles.TargetPath = U2hhcmVkXE5hdk1lbnUucmF6b3I=
build_metadata.AdditionalFiles.CssScope = b-19977w351x
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/Error.cshtml]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/Error.cshtml]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcRXJyb3IuY3NodG1s
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/_Host.cshtml]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/_Host.cshtml]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX0hvc3QuY3NodG1s
build_metadata.AdditionalFiles.CssScope =
[U:/IUT/Blazor/BlazorRepository/BlazorTP/Pages/_Layout.cshtml]
[U:/IUT/Blazor/BlazorTPRepository/BlazorTP/Pages/_Layout.cshtml]
build_metadata.AdditionalFiles.TargetPath = UGFnZXNcX0xheW91dC5jc2h0bWw=
build_metadata.AdditionalFiles.CssScope =

@ -974,11 +974,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj",
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj",
"projectName": "BlazorTP",
"projectPath": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj",
"projectPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj",
"packagesPath": "C:\\Users\\jumeuret\\.nuget\\packages\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\obj\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "lKvconKmrpq+j+GZ3FrX0QrJ6fCijNmiGL08skxtA2GXBPeEN8xn01I72TWr+IorzLA5zwhMPYpa1n0fjIAFUQ==",
"dgSpecHash": "ZTriet/jN3HxIHmHhs2QVNwMnvJRDZ/upVwWimVCsXoUpnsZtQr5g2yXH45YO9AJNC3DFVOI/wMkAHAY7QOS+A==",
"success": true,
"projectFilePath": "U:\\IUT\\Blazor\\BlazorRepository\\BlazorTP\\BlazorTP.csproj",
"projectFilePath": "U:\\IUT\\Blazor\\BlazorTPRepository\\BlazorTP\\BlazorTP.csproj",
"expectedPackageFiles": [
"C:\\Users\\jumeuret\\.nuget\\packages\\blazored.localstorage\\4.3.0\\blazored.localstorage.4.3.0.nupkg.sha512",
"C:\\Users\\jumeuret\\.nuget\\packages\\blazored.modal\\7.1.0\\blazored.modal.7.1.0.nupkg.sha512",

@ -8,9 +8,9 @@ build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Minecraft.Crafting.Api
build_property.RootNamespace = Minecraft.Crafting.Api
build_property.ProjectDir = U:\IUT\Blazor\BlazorRepository\Minecraft.Crafting.Api\
build_property.ProjectDir = U:\IUT\Blazor\BlazorTPRepository\Minecraft.Crafting.Api\
build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = U:\IUT\Blazor\BlazorRepository\Minecraft.Crafting.Api
build_property.MSBuildProjectDirectory = U:\IUT\Blazor\BlazorTPRepository\Minecraft.Crafting.Api
build_property._RazorSourceGeneratorDebug =

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj": {}
"U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj": {}
},
"projects": {
"U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj": {
"U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectName": "Minecraft.Crafting.Api",
"projectPath": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"packagesPath": "C:\\Users\\jumeuret\\.nuget\\packages\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\obj\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"

@ -339,11 +339,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectUniqueName": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectName": "Minecraft.Crafting.Api",
"projectPath": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"packagesPath": "C:\\Users\\jumeuret\\.nuget\\packages\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\obj\\",
"outputPath": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "CRivLpX3b6xOd9BuRRKKb20TvK/xALVVoWFl2t/5U2o0xDRiSjrHBKPk0J7Czpq5aFQVuV45JEiCD5PH+cCFrQ==",
"dgSpecHash": "5A/uY8xIJ1fmVvOUZT8dYZhYK/y5j8ym+16HvXTMJtXvGeBP3qcTv7eKYUTR7zsJZSqdprt62hKZ4mWyA6WzlA==",
"success": true,
"projectFilePath": "U:\\IUT\\Blazor\\BlazorRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"projectFilePath": "U:\\IUT\\Blazor\\BlazorTPRepository\\Minecraft.Crafting.Api\\Minecraft.Crafting.Api.csproj",
"expectedPackageFiles": [
"C:\\Users\\jumeuret\\.nuget\\packages\\microsoft.extensions.apidescription.server\\3.0.0\\microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512",
"C:\\Users\\jumeuret\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",

@ -1,34 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Blazor - One incredible styled html page</title>
<link rel="stylesheet" href="mycoolstyle.css">
</head>
<body>
<!-- Navigation menu -->
<ul class="navbar">
<li><a href="https://codefirst.iut.uca.fr/home">Code#0</a>
<li><a href="http://iut.uca.fr">IUT</a>
<li><a href="https://neilyoungarchives.com/">Very good music</a>
<li><a href="https://www.youtube.com/watch?v=CY5dTBhRxOA">Very good music too!</a>
</ul>
<!-- Main Content -->
<h1>Blazor is my first page, and it has got style!</h1>
<p>Welcome on this template html/css project
<p>Very simple, some links, some menu... make it your own
&hellip;
<p>I have nothing more to say
<!-- my footer -->
<address>Template made in 2022<br>
with Code#0 <a href="https://codefirst.iut.uca.fr/home"><img src="images/CodeFirstLogo.png" alt="Code#0" align="middle" border="0" height="40px"/>
</a></address>
</body>
</html>
Loading…
Cancel
Save