summaryrefslogtreecommitdiff
path: root/.gitlab/ci/reports.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/reports.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/reports.gitlab-ci.yml27
1 files changed, 12 insertions, 15 deletions
diff --git a/.gitlab/ci/reports.gitlab-ci.yml b/.gitlab/ci/reports.gitlab-ci.yml
index 77ad938a0ef..b1343afdb5e 100644
--- a/.gitlab/ci/reports.gitlab-ci.yml
+++ b/.gitlab/ci/reports.gitlab-ci.yml
@@ -11,15 +11,14 @@ code_quality:
extends:
- .default-retry
- .reports:rules:code_quality
+ - .use-docker-in-docker
stage: test
needs: []
- image: docker:stable
allow_failure: true
- services:
- - docker:stable-dind
variables:
- DOCKER_DRIVER: overlay2
- DOCKER_TLS_CERTDIR: ""
+ # emptying DOCKER_HOST so it can be detected properly on kubernetes executor
+ # with the script below
+ DOCKER_HOST: ""
CODE_QUALITY_IMAGE: "registry.gitlab.com/gitlab-org/ci-cd/codequality:0.85.9"
script:
- |
@@ -50,6 +49,7 @@ sast:
extends:
- .default-retry
- .reports:rules:sast
+ - .use-docker-in-docker
stage: test
allow_failure: true
needs: []
@@ -59,14 +59,12 @@ sast:
reports:
sast: gl-sast-report.json
expire_in: 1 week # GitLab-specific
- image: docker:stable
variables:
- DOCKER_DRIVER: overlay2
- DOCKER_TLS_CERTDIR: ""
+ # emptying DOCKER_HOST so it can be detected properly on kubernetes executor
+ # with the script below
+ DOCKER_HOST: ""
SAST_BRAKEMAN_LEVEL: 2 # GitLab-specific
SAST_EXCLUDED_PATHS: qa,spec,doc,ee/spec # GitLab-specific
- services:
- - docker:stable-dind
script:
- export SAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
- |
@@ -89,16 +87,15 @@ dependency_scanning:
extends:
- .default-retry
- .reports:rules:dependency_scanning
+ - .use-docker-in-docker
stage: test
needs: []
- image: docker:stable
variables:
- DOCKER_DRIVER: overlay2
- DOCKER_TLS_CERTDIR: ""
+ # emptying DOCKER_HOST so it can be detected properly on kubernetes executor
+ # with the script below
+ DOCKER_HOST: ""
DS_EXCLUDED_PATHS: "qa/qa/ee/fixtures/secure_premade_reports,spec,ee/spec" # GitLab-specific
allow_failure: true
- services:
- - docker:stable-dind
script:
- export DS_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
- |