# HG changeset patch # User Thierry Florac # Date 1561716088 -7200 # Node ID a4884c96f5af2afdf30b9b1efc803cdecf414888 # Parent 7f5d40182b58c5efd44652e54ca5289cbcf6c8bd Update docker command diff -r 7f5d40182b58 -r a4884c96f5af .gitlab-ci.yml --- a/.gitlab-ci.yml Fri Jun 28 11:49:47 2019 +0200 +++ b/.gitlab-ci.yml Fri Jun 28 12:01:28 2019 +0200 @@ -38,30 +38,8 @@ - docker run -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate validate-config - ls -lash $PWD - echo $PWD - - docker run --env CODECLIMATE_CODE="$VOLUME_PATH" -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate analyze + - docker run --env CODECLIMATE_CODE="$VOLUME_PATH" -v /tmp/cc:/tmp/cc -v $VOLUME_PATH:/code -v /var/run/docker.sock:/var/run/docker.sock codeclimate/codeclimate analyze -f json >codeclimate.json - ls -lash $PWD artifacts: reports: codequality: codeclimate.json - -#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/') -# - echo "$PWD" -# - echo "$SP_VERSION" -# - 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 -# - ls -# artifacts: -# reports: -# codequality: gl-code-quality-report.json