From 457a7af1d10f956d946284984abc9bd446afd5e8 Mon Sep 17 00:00:00 2001 From: Dmytro Bogatov <dmytro@dbogatov.org> Date: Fri, 26 Jun 2020 15:54:31 -0400 Subject: [PATCH] Fix. --- .gitlab-ci.yml | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b29c03..f791899 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 -- GitLab