Skip to content

Commit 55edebd

Browse files
committed
Add vale to continuous integration
1 parent 413126e commit 55edebd

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

ci/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN apk add --update \
2121
zlib \
2222
zlib-dev \
2323
&& 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 \
2425
&& pip install --upgrade awscli \
2526
&& cd /tmp/bundler && bundle install && rm -rf /tmp/bundler \
2627
&& apk --purge del \

ci/builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44

55
image=cockroachdb/docs-builder
6-
version=${COCKROACH_DOCS_BUILDER_VERSION:-20180311-222618}
6+
version=${COCKROACH_DOCS_BUILDER_VERSION:-20180529-163433}
77

88
root=$(cd "$(dirname "$0")" && pwd)
99
repo_root=$root/..

ci/pull-request

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@ curl \
2929
--data "{\"body\": \"http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/$BUILD_VCS_NUMBER/\"}" \
3030
"https://api.github.com/repos/cockroachdb/docs/issues/$BUILD_BRANCH/comments"
3131

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.
3336
run htmltest --skip-external

0 commit comments

Comments
 (0)