Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error Details

pull/130/head
Vincent ASTOLFI 2 years ago
parent 2014ad6145
commit 2d0a40806f

@ -15,6 +15,7 @@ steps:
- dotnet restore CI_MAUI.sln - dotnet restore CI_MAUI.sln
- dotnet build CI_MAUI.sln -c Release --no-restore - dotnet build CI_MAUI.sln -c Release --no-restore
- dotnet publish CI_MAUI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet publish CI_MAUI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
- name: tests - name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0 image: mcr.microsoft.com/dotnet/sdk:6.0
commands: commands:
@ -22,6 +23,7 @@ steps:
- dotnet restore CI_MAUI.sln - dotnet restore CI_MAUI.sln
- dotnet test CI_MAUI.sln --no-restore - dotnet test CI_MAUI.sln --no-restore
depends_on: [build] depends_on: [build]
- 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:
@ -42,15 +44,6 @@ steps:
sonar_token: sonar_token:
from_secret: SECRET_SONAR_LOGIN from_secret: SECRET_SONAR_LOGIN
depends_on: [tests] depends_on: [tests]
# database container deployment
- name: deploy-container-mysql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: postgres
CONTAINERNAME: mysql
COMMAND: create
PRIVATE: true
POSTGRES_PASSWORD: oui
- name: deploy-container-mysql - name: deploy-container-mysql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest

Loading…
Cancel
Save