summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-10-08 09:08:19 -0400
committerEd Santiago <santiago@redhat.com>2020-10-28 12:25:53 -0600
commit53fe386da047cce6a9e9f381b2dd73335babe305 (patch)
treee9f6edd6be4336a9a8a87e6da1abc4ecc225763c /contrib
parent5d48606dae9c833869c23ab86edd55a7f9fbf85d (diff)
downloadpodman-53fe386da047cce6a9e9f381b2dd73335babe305.tar.gz
podman-53fe386da047cce6a9e9f381b2dd73335babe305.tar.bz2
podman-53fe386da047cce6a9e9f381b2dd73335babe305.zip
Cirrus: Use google mirror for docker.io
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cirrus/lib.sh1
-rwxr-xr-xcontrib/cirrus/setup_environment.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index e5124d8e4..8c86925d8 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -208,6 +208,7 @@ install_test_configs() {
# as the default). This config prevents allocation of network address space used
# by default in google cloud. https://cloud.google.com/vpc/docs/vpc#ip-ranges
install -v -D -m 644 $SCRIPT_BASE/99-do-not-use-google-subnets.conflist /etc/cni/net.d/
+
install -v -D -m 644 ./test/registries.conf /etc/containers/
}
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 3135a5e65..0f9bf4054 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -178,6 +178,8 @@ case "$TEST_FLAVOR" in
remove_packaged_podman_files
make install PREFIX=/usr ETCDIR=/etc
fi
+
+ install_test_configs
;;
vendor) make clean ;;
release) ;;