From 22eefade99107c235e9c49557c4e7de713a74f7c Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 25 Nov 2020 11:13:55 -0500 Subject: [PATCH] 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 --- scripts/build_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 27b888c8..1d05cb96 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" -- 2.39.5