diff options
author | Javier Jardón <jjardon@gnome.org> | 2019-08-05 18:14:57 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2019-08-05 18:14:57 +0100 |
commit | 66664ddf14a40a0b29b7fb4f7f90ac10ef62f052 (patch) | |
tree | 4e355bdfa67ebb6d870161c65c95414e7bbeba28 /.gitlab-ci.yml | |
parent | 4f3c70b8e90ddd0bd87c301363fa3e0408d395e3 (diff) | |
download | buildstream-66664ddf14a40a0b29b7fb4f7f90ac10ef62f052.tar.gz |
.gitlab-ci.yml: Use new way to define code_quality job
See https://docs.gitlab.com/ee/ci/examples/code_quality.html
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94ab3dc74..bf0b8f557 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +include: + - template: Code-Quality.gitlab-ci.yml + image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:9-master-46405991 cache: @@ -293,30 +296,6 @@ overnight-tests-no-cache: tags: - overnight-tests -# Check code quality with gitlab's built-in feature. -# -code_quality: - image: docker:stable - stage: test - variables: - DOCKER_DRIVER: overlay2 - # Required to be able to connect to the docker daemon. See https://gitlab.com/gitlab-org/gitlab-runner/issues/4501 - DOCKER_TLS_CERTDIR: "" - allow_failure: true - services: - - docker:stable-dind - script: - - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - - docker run - --env SOURCE_CODE="$PWD" - --volume "$PWD":/code - --volume /var/run/docker.sock:/var/run/docker.sock - "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code - except: - - schedules - artifacts: - paths: [gl-code-quality-report.json] - ##################################################### # Post stage # ##################################################### |