|
|
@ -13,7 +13,7 @@ steps:
|
|
|
|
- name: docs
|
|
|
|
- name: docs
|
|
|
|
path: /docs
|
|
|
|
path: /docs
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd EntityFramework_LoL/Sources/
|
|
|
|
- cd Sources/
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet build LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet build LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
|
@ -22,8 +22,8 @@ steps:
|
|
|
|
- name: docker-build-and-push
|
|
|
|
- name: docker-build-and-push
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
dockerfile: EntityFramework_LoL/Sources/Dockerfile
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
context: EntityFramework_LoL/Sources/
|
|
|
|
context: Sources/
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
repo: hub.codefirst.iut.uca.fr/louis.dufour/EntityFramework
|
|
|
|
repo: hub.codefirst.iut.uca.fr/louis.dufour/EntityFramework
|
|
|
|
username:
|
|
|
|
username:
|
|
|
@ -34,7 +34,7 @@ steps:
|
|
|
|
- name: tests
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd EntityFramework_LoL/Sources/
|
|
|
|
- cd Sources/
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet test LeagueOfLegends.sln --no-restore
|
|
|
|
- dotnet test LeagueOfLegends.sln --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
@ -67,7 +67,7 @@ steps:
|
|
|
|
- name: code-analysis
|
|
|
|
- name: code-analysis
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd EntityFramework_LoL/Sources/
|
|
|
|
- cd Sources/
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet sonarscanner begin /k:EntityFramework_LoL_Louis /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 sonarscanner begin /k:EntityFramework_LoL_Louis /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 LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet build LeagueOfLegends.sln -c Release --no-restore
|
|
|
|