diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ac320910c900baaabba41a4cbf2d50868745a67..9b29c03893f3563c3681e50a31be200ecfb97a8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +default: + tags: + - docker + stages: - test - release @@ -8,8 +12,6 @@ lint: script: - npm install - npm run lint - tags: - - docker test: image: dbogatov/docker-sources:node--14.4-alpine3.12 @@ -25,8 +27,6 @@ test: reports: junit: test-results.xml cobertura: coverage/cobertura-coverage.xml - tags: - - docker release: image: dbogatov/docker-sources:node--14.4-alpine3.12 @@ -65,8 +65,6 @@ release: - if: '$CI_COMMIT_REF_NAME == "master"' when: on_success allow_failure: true - tags: - - docker code_navigation: image: dbogatov/docker-sources:node--14.4-alpine3.12 @@ -81,5 +79,10 @@ code_navigation: rules: - if: '$CI_COMMIT_REF_NAME == "master"' when: on_success - tags: - - docker + +include: + - template: SAST.gitlab-ci.yml + - template: License-Scanning.gitlab-ci.yml + - template: Secret-Detection.gitlab-ci.yml + - template: Dependency-Scanning.gitlab-ci.yml + - template: Code-Quality.gitlab-ci.yml