There may be multiple architecures and OS versions in
ansible_play_hosts. However, with run_once we build wheels only
for one selected distro and do not repsect multi-arch/multi-distro
setups.
Instead of run_once we need to select single (and first in play)
host of each architecture and distro and delegate wheels building
from it. That is needed, because venv_build_host is selected based
on the facts gathered for current inventory_hostname and will
depend on it's arch/distro.
Reviewed: https:/ /review. opendev. org/c/openstack /ansible- role-python_ venv_build/ +/848106 /opendev. org/openstack/ ansible- role-python_ venv_build/ commit/ 57a2f226ebca7a2 ec21920d4fd2b7c cf45490684
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 57a2f226ebca7a2 ec21920d4fd2b7c cf45490684
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Jun 29 15:08:30 2022 +0200
Run wheels build for each unique distro/arch
There may be multiple architecures and OS versions in play_hosts. However, with run_once we build wheels only multi-distro
ansible_
for one selected distro and do not repsect multi-arch/
setups.
Instead of run_once we need to select single (and first in play)
host of each architecture and distro and delegate wheels building
from it. That is needed, because venv_build_host is selected based
on the facts gathered for current inventory_hostname and will
depend on it's arch/distro.
Change-Id: I492d17169538ad 2768e28f7c48314 bdec407ab36
Closes-Bug: #1964535