Fixes an issue in 410408ef1b where
we removed the -y options for the pip RPM install. This functionally
broke the dev mode playbook unless you had manually installed pip
in the container (not normally the case for RDO images).
Change-Id: Ic96d9eb708bff763cbe4395cf7770b5239879309
Closes-bug: #1816775
It makes yum and pip installs work with py3 packages. The package manager
dnf/yum and pip binary are determined at run time from the OS.
Use dnf-plugins-core for dnf with respect to
yum-plugin-priorities.
Use pipefail with set -ex to fix linter errors.
Change-Id: I997509204e30abb8b21ef936ea44440fbaa5a0e4
Closes-Bug: #1813546
The following playbook will produce a modified image with Python source
code installed via pip. To minimize dependencies within the container
we generate the sdist locally and then copy it into the resulting
container image as an sdist tarball to run pip install locally.
Useful for local ad-hoc testing of upstream patches without
having to build and RPM in those cases.
Change-Id: I93c0e86b2e421b0bcb777d536fcb0d30e0ee3b68