Skip to content

Commit

Permalink
ARROW-7736: [Release] Retry binary download on transient error
Browse files Browse the repository at this point in the history
It makes binary verification more robust.

Closes #6335 from kou/release-verification-binaries-retry and squashes the following commits:

38944a9 <Sutou Kouhei>  Retry binary download on transient error

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
  • Loading branch information
kou authored and kszucs committed Feb 7, 2020
1 parent 273e1ce commit e4ff276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/release/download_rc_binaries.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _download_file(self, dest, info):
bintray_abspath = os.path.join(BINTRAY_DL_ROOT, self.repo, relpath)

cmd = [
'curl', '--fail', '--location',
'curl', '--fail', '--location', '--retry', '5',
'--output', dest_path, bintray_abspath
]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
Expand Down

0 comments on commit e4ff276

Please sign in to comment.