diff options
-rw-r--r-- | .gitlab-ci.yml | 8 | ||||
-rw-r--r-- | lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc35c598332..6c3862c7645 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -777,6 +777,14 @@ jest: code_quality: <<: *dedicated-no-docs-no-db-pull-cache-job + # gitlab-org runners set `privileged: false` but we need to have it set to true + # since we're using Docker in Docker + tags: [] + before_script: [] + cache: {} + dependencies: [] + variables: + SETUP_DB: "false" sast: <<: *dedicated-no-docs-no-db-pull-cache-job diff --git a/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml b/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml index ebb01ae19ca..10b25af904f 100644 --- a/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml @@ -1,17 +1,10 @@ code_quality: image: docker:stable allow_failure: true - # gitlab-org runners set `privileged: false` but we need to have it set to true - # since we're using Docker in Docker - tags: [] - before_script: [] services: - docker:stable-dind variables: - SETUP_DB: "false" DOCKER_DRIVER: overlay2 - cache: {} - dependencies: [] script: - docker run --env SOURCE_CODE="$PWD" |