Add --ipv4 in curl.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-10-27 02:57:34 +00:00
parent 6c6b337e87
commit 22adf92f66

View File

@ -40,7 +40,7 @@ fi
# VERSION is the latest cri-containerd version got from cri-containerd gcs # VERSION is the latest cri-containerd version got from cri-containerd gcs
# bucket. # 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) https://storage.googleapis.com/${DEPLOY_PATH}/latest)
# TARBALL_GCS_PATH is the path to download cri-containerd tarball for node e2e. # 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" TARBALL_GCS_PATH="https://storage.googleapis.com/${DEPLOY_PATH}/cri-containerd-node-e2e-${VERSION}.tar.gz"