diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-25 00:00:47 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-25 21:28:54 -0800 |
| commit | c08f3824cd82ca2dfc51a0840d0cdea4816080f3 (patch) | |
| tree | 6dead42a494afbb45df0b17a1871796faf28fa20 /src/ci/docker | |
| parent | 1572bf104dbf65d58bd6b889fa46229c9b92d6f9 (diff) | |
| download | rust-c08f3824cd82ca2dfc51a0840d0cdea4816080f3.tar.gz rust-c08f3824cd82ca2dfc51a0840d0cdea4816080f3.zip | |
travis: Make more network requests retryable
This commit attempts to move more network operations to being retryable through various operations. For example git submodule updates, downloading snapshots, etc, are now all in retryable steps. Hopefully this commit can cut down on the number of network failures we've been seeing!
Diffstat (limited to 'src/ci/docker')
| -rwxr-xr-x | src/ci/docker/run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh index 892c5baa5c6..1e61f216910 100755 --- a/src/ci/docker/run.sh +++ b/src/ci/docker/run.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright 2016 The Rust Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution and at # http://rust-lang.org/COPYRIGHT. @@ -19,7 +19,9 @@ ci_dir="`dirname $docker_dir`" src_dir="`dirname $ci_dir`" root_dir="`dirname $src_dir`" -docker \ +source "$ci_dir/shared.sh" + +retry docker \ build \ --rm \ -t rust-ci \ |
