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
This commit is contained in:
Jesse Pretorius 2018-09-02 15:38:51 +01:00
parent b93f331aa2
commit 288faa80e9
1 changed files with 4 additions and 0 deletions

View File

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