diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2020-05-28 18:47:56 +0800 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2020-05-28 18:53:04 +0800 |
commit | 6fbd87f14e8cbebb7a86f266cd40a3cf12a63fa6 (patch) | |
tree | ba9d52cd002fa13d73b999ff77a60c5e47f2f7c0 | |
parent | 7d86c9a7061c6e0b2e9638b2f380d7d51b542f59 (diff) | |
download | gitlab-shell-pb-update-gitlab-ci-codequality.tar.gz |
Use codequality CI templatepb-update-gitlab-ci-codequality
In https://gitlab.com/gitlab-org/gitlab/-/issues/218797, it was
determined that gitlab-shell is using an outdated image that no
longer exists.
To ensure that we are using up to date codequality image, we
can use the built-in template instead.
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c9c1744..c6be748 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +include: + - template: Code-Quality.gitlab-ci.yml + variables: DOCKER_VERSION: "19.03.0" @@ -61,16 +64,8 @@ race: script: - make test_golang_race -codequality: +code_quality: extends: .use-docker-in-docker - allow_failure: true - 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: [codeclimate.json] |