File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ RUN apk add --update \
21
21
zlib \
22
22
zlib-dev \
23
23
&& GOBIN=/usr/local/bin go get -u github.com/cockroachdb/htmltest \
24
+ && wget -O- https://github.com/errata-ai/vale/releases/download/v0.11.2/vale_0.11.2_Linux_64-bit.tar.gz | tar -xzC /usr/local/bin vale \
24
25
&& pip install --upgrade awscli \
25
26
&& cd /tmp/bundler && bundle install && rm -rf /tmp/bundler \
26
27
&& apk --purge del \
Original file line number Diff line number Diff line change 3
3
set -euo pipefail
4
4
5
5
image=cockroachdb/docs-builder
6
- version=${COCKROACH_DOCS_BUILDER_VERSION:- 20180311-222618 }
6
+ version=${COCKROACH_DOCS_BUILDER_VERSION:- 20180529-163433 }
7
7
8
8
root=$( cd " $( dirname " $0 " ) " && pwd)
9
9
repo_root=$root /..
Original file line number Diff line number Diff line change 29
29
--data " {\" body\" : \" http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/$BUILD_VCS_NUMBER /\" }" \
30
30
" https://api.github.com/repos/cockroachdb/docs/issues/$BUILD_BRANCH /comments"
31
31
32
- # Step 4. Run htmltest, but skip checking external links to speed things up.
32
+ # Step 4. Run vale, but don't fail the build if it reports errors.
33
+ run vale --no-wrap v2.1 || true
34
+
35
+ # Step 5. Run htmltest, but skip checking external links to speed things up.
33
36
run htmltest --skip-external
You can’t perform that action at this time.
0 commit comments