Move gitlab-org specific config to .gitlab-ci.yml

This commit is contained in:
Matija Čupić 2019-03-15 15:38:18 +01:00
parent 3b3b160241
commit dfacd3a02d
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE
2 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -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"