Skip to content

Commit 0462033

Browse files
authored
Merge pull request #50925 from aireilly/pass-vale-zip-error
travis build: make the wget vale zip step resilient
2 parents 762112e + 71abbbb commit 0462033

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
before_script:
4545
- gem install asciidoctor
4646
script:
47-
- wget https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz
47+
- 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
4848
- mkdir bin && tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C bin
4949
- export PATH=./bin:"$PATH"
50-
- vale sync # pull down VRH rules package
50+
- travis_retry vale sync # pull down VRH rules package
5151
- chmod +x ./scripts/check-with-vale.sh
52-
- ./scripts/check-with-vale.sh $TRAVIS_PULL_REQUEST $TRAVIS_PULL_REQUEST_SHA
52+
- travis_retry ./scripts/check-with-vale.sh $TRAVIS_PULL_REQUEST $TRAVIS_PULL_REQUEST_SHA
5353
# Commenting out to disable auto-merging of PRs
5454
# - stage: automerge
5555
# if: env(PR_AUTHOR)=openshift-cherrypick-robot

0 commit comments

Comments
 (0)