summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-03-05 11:36:28 +0000
committerRémy Coutable <remy@rymai.me>2018-03-05 11:36:28 +0000
commitb3ff123530631dff0be85dc19d43567fae4a8d19 (patch)
tree70fbdb1df85d87fea117b85e8fa04bf633ebaaa9
parentb7cacaaf4fedd3d9b3b19ea3f1fe3eb585112b88 (diff)
parent57ce7c655cc58ee793cf6514fae590fa53850884 (diff)
downloadgitlab-ce-b3ff123530631dff0be85dc19d43567fae4a8d19.tar.gz
Merge branch '43811-no-docker-no-put-down-the-kitchen-sink' into 'master'
Resolve "codequality: make our dependency on jq < 182MiB" Closes #43811 See merge request gitlab-org/gitlab-ce!17492
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a0c9802c15..8b489f1a07c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -619,9 +619,10 @@ codequality:
cache: {}
dependencies: []
script:
+ - apk update && apk add jq
- ./scripts/codequality analyze -f json > raw_codeclimate.json || true
# The following line keeps only the fields used in the MR widget, reducing the JSON artifact size
- - cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,description,fingerprint,location})' > codeclimate.json
+ - jq -c 'map({check_name,description,fingerprint,location})' raw_codeclimate.json > codeclimate.json
artifacts:
paths: [codeclimate.json]
expire_in: 1 week