diff --git a/.drone.yml b/.drone.yml index e032292..c8125e1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,11 +20,11 @@ steps: - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln - dotnet test API_SQLuedo.sln -c Release --no-build --no-restore - depends_on: [ build ] + depends_on: [build] - name: code-inspection image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet8 - secrets: [ SECRET_SONAR_LOGIN ] + secrets: [SECRET_SONAR_LOGIN] environment: sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_token: @@ -40,7 +40,7 @@ steps: - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish API_SQLuedo.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet sonarscanner end /d:sonar.login=$${sonar_token} - depends_on: [ build ] + depends_on: [build] - name: deploy-sqluedo-db image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -57,7 +57,7 @@ steps: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: db_database ADMINS: erwanmenager,maximesapountzis,johnnyratton,victorgaborit,clementchieu - depends_on: [ tests ] + depends_on: [tests] # Build and push API image - name: api-image-build-and-push @@ -83,4 +83,4 @@ steps: CODEFIRST_CLIENTDRONE_ENV_CONNECTION_STRING: from_secret: connection_string ADMINS: erwanmenager,maximesapountzis,johnnyratton,victorgaborit,clementchieu - depends_on: [ api-image-build-and-push ] \ No newline at end of file + depends_on: [api-image-build-and-push]