mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Stop relying on actions/checkout
because it randomly fails on authorization like:
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.
This commit is contained in:
parent
2b3d84d584
commit
4f10a61eaa
4 changed files with 14 additions and 16 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue