Mark build task changed only when wheels are built

Only set the 'Build wheels for the packages to be installed into the
venv' task to changed when new wheels are built or saved.

Change-Id: Iec1818c54f4a40791cbb69d9cc726960c905c069
This commit is contained in:
Jimmy McCrory 2018-10-18 21:14:43 -07:00
parent b7cb5188a1
commit 609ea84d1b
1 changed files with 2 additions and 0 deletions

View File

@ -85,5 +85,7 @@
{{ (venv_default_pip_packages + venv_pip_packages) | join(' ') }}
register: _build_python_wheels
until: _build_python_wheels is success
changed_when: (_build_python_wheels.stdout.find('Successfully built') != -1) or
(_build_python_wheels.stdout | regex_search('Saved \S*\.whl'))
retries: 5
delay: 2