From b250a5756ca57cb3b1434d56d18dc20fa26c7485 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Fri, 22 Jan 2021 23:31:21 +0000 Subject: [PATCH] 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 25446cd69814d9c8c10f0d20047af12f3ee47662) --- .ci/ansible_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ansible_install.py b/.ci/ansible_install.py index ff2d3b63..1c8682db 100755 --- a/.ci/ansible_install.py +++ b/.ci/ansible_install.py @@ -16,7 +16,7 @@ batches = [ ] 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 )