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.vanberkom@codethink.co.uk>2018-08-27 16:00:09 +0900
commitc54e5ff70a2af673ea09fa5cebb426950ea17163 (patch)
treef2986cf5ec90d422f4e6011cfb71baa2f8f610e7
parent81261e3c1b13d7032b0a56ec82b2c9479fcee28a (diff)
downloadbuildstream-c54e5ff70a2af673ea09fa5cebb426950ea17163.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 545002f03..941de2276 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -187,11 +187,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
@@ -209,7 +207,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