diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b29c03893f3563c3681e50a31be200ecfb97a8c..f79189951681162ad188571576d7c4c19467c567 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,20 @@ default: + image: dbogatov/docker-sources:node--14.4-alpine3.12 tags: - docker stages: - test + - security - release lint: - image: dbogatov/docker-sources:node--14.4-alpine3.12 stage: test script: - npm install - npm run lint test: - image: dbogatov/docker-sources:node--14.4-alpine3.12 stage: test script: - npm install @@ -29,7 +29,6 @@ test: cobertura: coverage/cobertura-coverage.xml release: - image: dbogatov/docker-sources:node--14.4-alpine3.12 stage: release script: - | @@ -67,7 +66,6 @@ release: allow_failure: true code_navigation: - image: dbogatov/docker-sources:node--14.4-alpine3.12 stage: release script: - npm install -g @sourcegraph/lsif-tsc @@ -85,4 +83,29 @@ include: - template: License-Scanning.gitlab-ci.yml - template: Secret-Detection.gitlab-ci.yml - template: Dependency-Scanning.gitlab-ci.yml - - template: Code-Quality.gitlab-ci.yml + +# ADJUSTMENTS + +gemnasium-dependency_scanning: + stage: security + +nodejs-scan-sast: + stage: security + before_script: + - npm install + - npm build + +license_scanning: + stage: security + +retire-js-dependency_scanning: + stage: security + +secret_detection: + stage: security + +secrets-sast: + stage: security + +tslint-sast: + stage: security