From 064461ac48737f9eb5687e61da8960321fa57fc6 Mon Sep 17 00:00:00 2001 From: Dmytro Bogatov <dmytro@dbogatov.org> Date: Fri, 26 Jun 2020 15:42:21 -0400 Subject: [PATCH] Add AutoDevOps. --- .gitlab-ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ac3209..9b29c03 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 -- GitLab