summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-12 14:30:42 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-12 14:30:43 +0900
commit4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33 (patch)
treef899b5e7d5ea917e1a64677a20a6db6ae54eac4b /tool
parent2b3d84d584e4a4cec5fe452db422c76048826c2b (diff)
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')
-rwxr-xr-xtool/ci_retry.sh (renamed from tool/travis_retry.sh)2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/travis_retry.sh b/tool/ci_retry.sh
index 9b79c56550..4eb378ad1a 100755
--- a/tool/travis_retry.sh
+++ b/tool/ci_retry.sh
@@ -1,6 +1,8 @@
#!/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
+#
+# Now this is also used by .github/workflow/*.yml.
for sleep in 0 ${WAITS:- 1 25 100}; do
sleep "$sleep"