summaryrefslogtreecommitdiff
path: root/test/registries.conf
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-29 18:00:33 +0100
committerGitHub <noreply@github.com>2020-10-29 18:00:33 +0100
commit6d72e7611e07c09ae2f4f9be799acd56179d66f9 (patch)
tree0a637ed92d3ee437582ea9be5ea203b1e7c00803 /test/registries.conf
parent74850052067c7a9c76c961fa06205388e9684be3 (diff)
parent20e104351dd4f85e56d49cca70dd9aaee8b72ffc (diff)
downloadpodman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.tar.gz
podman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.tar.bz2
podman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.zip
Merge pull request #8165 from edsantiago/move_from_dockerio
Move from docker.io
Diffstat (limited to 'test/registries.conf')
-rw-r--r--test/registries.conf21
1 files changed, 14 insertions, 7 deletions
diff --git a/test/registries.conf b/test/registries.conf
index f27a282d6..0559c9e52 100644
--- a/test/registries.conf
+++ b/test/registries.conf
@@ -1,10 +1,17 @@
# Note that changing the order here may break tests.
-[registries.search]
-registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org']
+unqualified-search-registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org']
-[registries.insecure]
-registries = []
+[[registry]]
+# In Nov. 2020, Docker rate-limits image pulling. To avoid hitting these
+# limits while testing, always use the google mirror for qualified and
+# unqualified `docker.io` images.
+# Ref: https://cloud.google.com/container-registry/docs/pulling-cached-images
+prefix="docker.io"
+location="mirror.gcr.io"
-#blocked (docker only)
-[registries.block]
-registries = []
+# 2020-10-27 a number of images are not present in gcr.io, and podman
+# barfs spectacularly when trying to fetch them. We've hand-copied
+# those to quay, using skopeo copy --all ...
+[[registry]]
+prefix="docker.io/library"
+location="quay.io/libpod"