We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838e673 commit 3e6a695Copy full SHA for 3e6a695
src/ci/docker/run.sh
@@ -73,7 +73,10 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
73
retry curl --max-time 600 -y 30 -Y 10 --connect-timeout 30 -f -L -C - \
74
-o /tmp/rustci_docker_cache "$url"
75
echo "Loading images into docker"
76
- loaded_images=$(docker load -i /tmp/rustci_docker_cache | sed 's/.* sha/sha/')
+ # docker load sometimes hangs in the CI, so time out after 10 minutes with TERM,
77
+ # KILL after 12 minutes
78
+ loaded_images=$(/usr/bin/timeout -k 720 600 docker load -i /tmp/rustci_docker_cache \
79
+ | sed 's/.* sha/sha/')
80
set -e
81
echo "Downloaded containers:\n$loaded_images"
82
fi
0 commit comments