From 1c7e1078092f0581676aa2cc0f83c218084a1a32 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 --- .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 f735f6a1..285d7f19 100644 --- a/.ci/ci_lib.py +++ b/.ci/ci_lib.py @@ -184,7 +184,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):