]> git.lizzy.rs Git - rust.git/commit
Retry when downloading the Docker cache.
authorkennytm <kennytm@gmail.com>
Thu, 10 May 2018 12:00:29 +0000 (20:00 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 10 May 2018 12:06:43 +0000 (20:06 +0800)
commit7def3f0c82a95ee9147c969e94665418bf77468c
treecac53fdd3ab5a864f879f2dfda04f2155025c212
parent95d0b9e96795aea20ac4a1fad9251982714d3c55
Retry when downloading the Docker cache.

Prevent spuriously needing to rebuild the docker image when the network
was down.

Also, adjusted the retry function to insert a sleep between retries,
because retrying immediately will often just hit the same issue.
src/ci/docker/run.sh
src/ci/shared.sh