tests: Throttle docker pulls for Ansible tests

I hope this will prevent AWS Elastic Container Registry returning 429:
Too Many Requests error, due to the burst of activity from multiple VMs,
when a CI build begins.

(cherry picked from commit 25446cd698)
pull/800/head
Alex Willmer 4 years ago
parent dd3a6f18d1
commit b250a5756c

@ -16,7 +16,7 @@ batches = [
] ]
batches.extend( batches.extend(
['docker pull %s' % (ci_lib.image_for_distro(distro),)] ['docker pull %s' % (ci_lib.image_for_distro(distro),), 'sleep 1']
for distro in ci_lib.DISTROS for distro in ci_lib.DISTROS
) )

Loading…
Cancel
Save