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
This commit is contained in:
Alex Willmer 2021-01-22 00:31:19 +00:00
parent adbed36dd9
commit 1c7e107809
1 changed files with 5 additions and 1 deletions

View File

@ -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):