Commit 9f2f9f44 authored by Takuya Noguchi's avatar Takuya Noguchi

Suppress progress on pulling image on Code Quality of Auto DevOps

to focus on the results from Code Quality job.
Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent a23924b2
---
title: Suppress progress on pulling image on Code Quality of Auto DevOps
merge_request: 20604
author: Takuya Noguchi
type: other
......@@ -7,6 +7,7 @@ code_quality:
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
CODE_QUALITY_IMAGE: "registry.gitlab.com/gitlab-org/security-products/codequality:12-5-stable"
script:
- |
if ! docker info &>/dev/null; then
......@@ -14,11 +15,12 @@ code_quality:
export DOCKER_HOST='tcp://localhost:2375'
fi
fi
- docker pull --quiet "$CODE_QUALITY_IMAGE"
- 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:12-5-stable" /code
"$CODE_QUALITY_IMAGE" /code
artifacts:
reports:
codequality: gl-code-quality-report.json
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment