Merge pull request #363 from Random-Liu/fix-node-e2e

Add `--ipv4` in `curl`.
This commit is contained in:
Lantao Liu 2017-10-27 06:19:06 +02:00 committed by GitHub
commit 486d7628c0

View File

@ -40,7 +40,7 @@ fi
# VERSION is the latest cri-containerd version got from cri-containerd gcs
# bucket.
VERSION=$(curl --fail --retry 5 --retry-delay 3 --silent --show-error \
VERSION=$(curl -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error \
https://storage.googleapis.com/${DEPLOY_PATH}/latest)
# TARBALL_GCS_PATH is the path to download cri-containerd tarball for node e2e.
TARBALL_GCS_PATH="https://storage.googleapis.com/${DEPLOY_PATH}/cri-containerd-node-e2e-${VERSION}.tar.gz"