From bdbc6dfe4db3a7ba271de97dd287c511d1dbed9d Mon Sep 17 00:00:00 2001
From: Pierre Ferreira
Date: Mon, 20 Nov 2023 10:37:42 +0100
Subject: [PATCH] =?UTF-8?q?SONAR=20FONCTIONNE=20!=20jest=20a=20=C3=A9t?=
=?UTF-8?q?=C3=A9=20retir=C3=A9=20car=20a=20besoin=20de=20test=20unitaire,?=
=?UTF-8?q?=20son=20impl=C3=A9mentation=20est=20toujours=20pr=C3=A9sente?=
=?UTF-8?q?=20:greenheart:?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.drone.yml | 63 ------------------------------------------------------
1 file changed, 63 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index cadb523..08c3e4b 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,40 +1,3 @@
-# kind: pipeline
-# type: docker
-# name: default
-
-# trigger:
-# event:
-# - push
-
-# steps:
-
-# - name: build
-# image: node:20 #voir pour changer la version ?
-# commands:
-# - cd cryptide_project
-# - npm install --legacy-peer-deps
-# - CI=false npm run build
-
-# - name: sonar-analyses
-# image: node:20
-# commands:
-# - cd ./cryptide_project
-# #- npm install --legacy-peer-deps
-# - npm run test
-# - ls ./test/coverage
-# - sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=$${PLUGIN_SONAR_HOST}
-# -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.javascript.lcov.reportPaths=./test/coverage/lcov.info
-# -Dsonar.exclusions=**/lcov-report/**
-# secrets: [ SECRET_SONAR_LOGIN_CRYPTIDE ]
-# settings:
-# sonar_host: https://codefirst.iut.uca.fr/sonar/
-# sonar_token:
-# from_secret: SECRET_SONAR_LOGIN_CRYPTIDE
-# when:
-# event:
-# - push
-# - push_request
-
kind: pipeline
type: docker
name: default
@@ -51,32 +14,6 @@ steps:
- npm install --legacy-peer-deps
- CI=false npm run build
- # - name: cleanup-node-modules
- # image: node:20
- # commands:
- # - cd cryptide_project
- # - rm -rf node_modules
-
- # - name: sonar-analyses
- # image: node:20
- # commands:
- # - cd cryptide_project
- # - npm install --legacy-peer-deps
- # #- npm run test
- # #- ls ./test/coverage
- # - sonar-scanner -Dsonar.projectKey=Learnihon -Dsonar.sources=. -Dsonar.host.url=${PLUGIN_SONAR_HOST}
- # -Dsonar.login=${PLUGIN_SONAR_TOKEN} -Dsonar.javascript.lcov.reportPaths=./test/coverage/lcov.info
- # -Dsonar.exclusions=**/lcov-report/**
- # secrets: [SECRET_SONAR_LOGIN_CRYPTIDE]
- # settings:
- # sonar_host: https://codefirst.iut.uca.fr/sonar/
- # sonar_token:
- # from_secret: SECRET_SONAR_LOGIN_CRYPTIDE
- # when:
- # event:
- # - push
- # - push_request
-
- name: code-analysis
image: node:20
environment: