Compare commits

...

5 Commits

40
.gitignore vendored

@ -1,3 +1,4 @@
# ---> VisualStudio
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
@ -91,6 +92,7 @@ StyleCopReport.xml
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
@ -294,6 +296,17 @@ node_modules/
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
@ -350,6 +363,9 @@ ASALocalRun/
# Local History for Visual Studio
.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
@ -360,4 +376,26 @@ MigrationBackup/
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
*.sln.iml

@ -7,6 +7,7 @@ trigger:
- push
steps:
# build job
- name: build
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
@ -14,6 +15,7 @@ steps:
- dotnet restore BlazorTp1.sln
- dotnet build BlazorTp1.sln -c Release --no-restore
# test job
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
@ -22,6 +24,7 @@ steps:
- dotnet test BlazorTp1.sln --no-restore
depends_on: [build]
# analysis job
- name: code-analysis
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
commands:
@ -42,6 +45,7 @@ steps:
from_secret: SECRET_SONAR_LOGIN
depends_on: [tests]
# cd job
- name: docker-build
image: plugins/docker
settings:
@ -56,11 +60,30 @@ steps:
when:
branch:
- master
# container deployement
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/nicolas.franco/Tp_blazor:latest
CONTAINERNAME: blazor_container
COMMAND: create
OVERWRITE: true
OVERWRITE: true
# documentation job
- 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 ]
volumes:
- name: docs
temp: {}

@ -0,0 +1,2 @@
# Tp_blazor
Loading…
Cancel
Save