roll back
continuous-integration/drone/push Build is failing Details

pull/29/head
Maxime ROCHER 3 months ago
parent 21acb505ef
commit 6eef595777

@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: CI
type: docker
trigger:
event:
@ -8,7 +8,7 @@ trigger:
steps:
- name: build
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd WF-WebAdmin/WF-WebAdmin
- dotnet restore WF-WebAdmin.csproj
@ -16,7 +16,7 @@ steps:
- dotnet publish WF-WebAdmin.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/publish
- name: tests
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd WF-WebAdmin/WF-WebAdmin
- dotnet restore WF-WebAdmin.csproj
@ -41,7 +41,7 @@ steps:
from_secret: sonar_token
project_key: web_admin
coverage_exclusions: "Tests/**"
depends_on: [tests]
depends_on: [ tests ]
- name: generate-and-deploy-docs
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
@ -71,14 +71,20 @@ steps:
depends_on: [ build, tests, code-analysis ]
- name: deploy
image:
image: mcr.microsoft.com/dotnet/aspnet:6.0
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/whatthefantasy/wf-webadmin
CONTAINERNAME: WF-WebAdmin
COMMAND: create
OVERWRITE: true
ADMINS: maximerocher,kevinmondejar,lenibeaulaton,kentinbrongniart,tommynguyen
commands:
- dotnet /app/WF-WebAdmin.dll
when:
branch:
- master
depends_on: [ docker_build ]
volumes:
- name: docs
temp: {}
Loading…
Cancel
Save