Commit b3ff1235 authored by Rémy Coutable's avatar Rémy Coutable

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
parents b7cacaaf 57ce7c65
......@@ -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
......
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