summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-08-26 16:01:03 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-26 07:30:58 +0000
commit5fb772b5733f1ec9b54764b709fc07fb868d713d (patch)
treeddd1107a22690d08ffd0692dcf45640a1b996a72
parenta9390efd185470156c7dd1c20a4a96024b4f8c62 (diff)
downloadbuildstream-5fb772b5733f1ec9b54764b709fc07fb868d713d.tar.gz
.gitlab-ci.yml: Trying to fix code quality reports
This hasnt been working for a while, it might be because GitLab doesnt quite grasp that we have multiple branches to merge MRs to, or it might be because they have change the API and broken back compat in some way. See: https://docs.gitlab.com/ee/ci/examples/code_quality.html
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d93704bb0..669f87dbf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -182,11 +182,9 @@ docs:
# Post stage #
#####################################################
-# Check code quality with codeclimate
-# This needs some refactoring; we probably just want to provide the codeclimate.json directly
-# as an output of radon, with some conversion
+# Check code quality with gitlab's built-in feature.
#
-codequality:
+code_quality:
<<: *tests-condition
image: docker:stable
@@ -204,7 +202,7 @@ codequality:
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
- paths: [codeclimate.json]
+ paths: [gl-code-quality-report.json]
analysis:
<<: *tests-condition