From 23d2ce000ec834865d5b43aad0d139eac8ac6339 Mon Sep 17 00:00:00 2001 From: Roshan Syed Date: Tue, 16 Jun 2020 16:53:31 +0000 Subject: [PATCH] ci: update .gitlab-ci.yml --- .gitlab-ci.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8ff07ca..3e7eacf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,26 +34,4 @@ test: - ./build/tests/chain_test --log_level=message - ./build/tests/cli_test --log_level=message tags: - - builder - -code_quality: - stage: test - image: docker:stable - variables: - DOCKER_DRIVER: overlay2 - 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 - artifacts: - paths: [gl-code-quality-report.json] - expire_in: 1 week - except: - variables: - - $CODE_QUALITY_DISABLED + - builder \ No newline at end of file