From: David Galloway Date: Wed, 25 Nov 2020 16:13:55 +0000 (-0500) Subject: build_utils: curl docker-mirror insecurely X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1712%2Fhead;p=ceph-build.git build_utils: curl docker-mirror insecurely I had initially planned on installing the self-signed cert globally but that was not advised. See https://github.com/ceph/ceph-build/pull/1698#issuecomment-725840305 So we should curl insecurely. Signed-off-by: David Galloway --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 27b888c8d..1d05cb968 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -1301,7 +1301,7 @@ maybe_reset_ci_container() { # dockerhub started aggressively rate limiting in November 2020. We can use an internal docker mirror if the builder is in the upstream lab. use_internal_container_registry() { - if curl -s "https://docker-mirror.front.sepia.ceph.com:5000"; then + if curl -s -k "https://docker-mirror.front.sepia.ceph.com:5000"; then REGISTRY="docker-mirror.front.sepia.ceph.com:5000/library" else REGISTRY="docker.io"