Move gitlab-org specific config to .gitlab-ci.yml
This commit is contained in:
parent
3b3b160241
commit
dfacd3a02d
2 changed files with 8 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue