Skip to content

Commit eabb7e3

Browse files
committed
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 1c7e107)
1 parent eee5006 commit eabb7e3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/ci_lib.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,11 @@ def get_docker_hostname():
180180

181181

182182
def image_for_distro(distro):
183-
return 'mitogen/%s-test' % (distro.partition('-')[0],)
183+
"""Return the container image name or path for a test distro name.
184+
185+
The returned value is suitable for use with `docker pull`.
186+
"""
187+
return 'public.ecr.aws/n5z0e8q9/%s-test' % (distro.partition('-')[0],)
184188

185189

186190
def make_containers(name_prefix='', port_offset=0):

0 commit comments

Comments
 (0)