Skip to content
Snippets Groups Projects

WIP: Don’t merge

Closed Andrej Shadura requested to merge vale-lint-test into vale-lint-base
Files
5
+ 25
0
@@ -8,9 +8,34 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- stylecheck
- generate-html
- generate-pdf
vale-stylecheck:
image:
name: jdkato/vale
entrypoint: [""]
stage: stylecheck
tags:
- lightweight
script:
- apk add jq
- |
for d in content/*/
do
test "$d" != content/release/ || continue
n="$(echo $d | tr / -)"
vale --no-exit $d
vale --no-exit --output=JSON $d > output-$n.json
done
scripts/vale-to-codeclimate output-*.json > report.json
artifacts:
reports:
codequality: report.json
paths:
- output-*.json
test-html:
image: registry.gitlab.com/pages/hugo:0.62.2
stage: generate-html
Loading