]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils: curl docker-mirror insecurely wip-insecure 1712/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 25 Nov 2020 16:13:55 +0000 (11:13 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 25 Nov 2020 16:13:55 +0000 (11:13 -0500)
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 <dgallowa@redhat.com>
scripts/build_utils.sh

index 27b888c8d47de7e3864f9de6fae162292cf60046..1d05cb9680f18cbceb3401842999bbe3b303668b 100644 (file)
@@ -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"