From eabb7e37b641465ce54c78af74a1bbc547b48554 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Fri, 22 Jan 2021 00:31:19 +0000 Subject: [PATCH] tests: Use AWS Elastic Container registry for test images This replaces use of Docker Hub, which now rate limits API calls and causing CI builds to fail. refs #791 (cherry picked from commit 1c7e1078092f0581676aa2cc0f83c218084a1a32) --- .ci/ci_lib.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/ci_lib.py b/.ci/ci_lib.py index 84db7a94..7f5de8e9 100644 --- a/.ci/ci_lib.py +++ b/.ci/ci_lib.py @@ -180,7 +180,11 @@ def get_docker_hostname(): def image_for_distro(distro): - return 'mitogen/%s-test' % (distro.partition('-')[0],) + """Return the container image name or path for a test distro name. + + The returned value is suitable for use with `docker pull`. + """ + return 'public.ecr.aws/n5z0e8q9/%s-test' % (distro.partition('-')[0],) def make_containers(name_prefix='', port_offset=0):