From 288faa80e92f0c789c9fd1ec753322975be46418 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Sun, 2 Sep 2018 15:38:51 +0100 Subject: [PATCH] Add retries to wheel build task Given that the wheel build process uses remote resources, we should retry the task if it fails. Change-Id: Ida4b18182a863c3108887e6a7edd136381c31bb8 --- tasks/python_venv_wheel_build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/python_venv_wheel_build.yml b/tasks/python_venv_wheel_build.yml index 789d3eb..48c10a2 100644 --- a/tasks/python_venv_wheel_build.yml +++ b/tasks/python_venv_wheel_build.yml @@ -83,3 +83,7 @@ --log /var/log/python_wheel_build.log {{ venv_pip_install_args }} {{ venv_pip_packages | join(' ') }} + register: _build_python_wheels + until: _build_python_wheels is success + retries: 5 + delay: 2