mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
turn off Vale
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
d49413a5e3
commit
10cd63db11
33
.travis.yml
33
.travis.yml
@@ -52,21 +52,22 @@ jobs:
|
||||
- pip3 install aura.tar.gz
|
||||
script:
|
||||
- python3 build.py --distro microshift --product "MicroShift" --version 4 --no-upstream-fetch && python3 makeBuild.py
|
||||
- stage: check-with-vale
|
||||
env:
|
||||
- CAN_FAIL=true
|
||||
if: type IN (pull_request) AND sender != "openshift-cherrypick-robot"
|
||||
name: "Run Vale against PR asciidoc files"
|
||||
language: minimal
|
||||
before_script:
|
||||
- gem install asciidoctor
|
||||
script:
|
||||
- travis_retry wget https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz --retry-connrefused
|
||||
- mkdir bin && tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C bin
|
||||
- export PATH=./bin:"$PATH"
|
||||
- travis_retry vale sync # pull down VRH rules package
|
||||
- chmod +x ./scripts/check-with-vale.sh
|
||||
- ./scripts/check-with-vale.sh
|
||||
# Remove Vale stage until PR commenting feature is ready
|
||||
# - stage: check-with-vale
|
||||
# env:
|
||||
# - CAN_FAIL=true
|
||||
# if: type IN (pull_request) AND sender != "openshift-cherrypick-robot"
|
||||
# name: "Run Vale against PR asciidoc files"
|
||||
# language: minimal
|
||||
# before_script:
|
||||
# - gem install asciidoctor
|
||||
# script:
|
||||
# - travis_retry wget https://github.com/errata-ai/vale/releases/download/v2.15.4/vale_2.15.4_Linux_64-bit.tar.gz --retry-connrefused
|
||||
# - mkdir bin && tar -xvzf vale_2.15.4_Linux_64-bit.tar.gz -C bin
|
||||
# - export PATH=./bin:"$PATH"
|
||||
# - travis_retry vale sync # pull down VRH rules package
|
||||
# - chmod +x ./scripts/check-with-vale.sh
|
||||
# - ./scripts/check-with-vale.sh
|
||||
# Commenting out to disable auto-merging of PRs
|
||||
# - stage: automerge
|
||||
# if: env(PR_AUTHOR)=openshift-cherrypick-robot
|
||||
@@ -82,5 +83,5 @@ jobs:
|
||||
stages:
|
||||
- build
|
||||
- netlify
|
||||
- check-with-vale
|
||||
#- check-with-vale
|
||||
#- automerge
|
||||
|
||||
Reference in New Issue
Block a user