diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:42 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:43 +0900 |
commit | 4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33 (patch) | |
tree | f899b5e7d5ea917e1a64677a20a6db6ae54eac4b /tool/travis_retry.sh | |
parent | 2b3d84d584e4a4cec5fe452db422c76048826c2b (diff) | |
download | ruby-4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33.tar.gz |
Stop relying on actions/checkout
because it randomly fails on authorization like:
https://github.com/ruby/ruby/runs/190887455
Also the backoff seems too short. Maybe we need tool/travis_retry.sh for
this too.
Cloning ruby/ruby does not need authorization. We don't need to use
actions/checkout.
Diffstat (limited to 'tool/travis_retry.sh')
-rwxr-xr-x | tool/travis_retry.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tool/travis_retry.sh b/tool/travis_retry.sh deleted file mode 100755 index 9b79c56550..0000000000 --- a/tool/travis_retry.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -eu -# The modified version of `travis_retry` to support custom backoffs, which is used by .travis.yml. -# https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/bash/travis_retry.bash - -for sleep in 0 ${WAITS:- 1 25 100}; do - sleep "$sleep" - - echo "+ $@" - if "$@"; then - exit 0 - fi -done -exit 1 |