Commit Graph

9 Commits

Author SHA1 Message Date
Guilherme Steinmüller d4e03338cf Retire openstack-ansible-os_molteniron
Change-Id: Idbf958f59a5443abc35d5ed09d086be0ec9688d6
2019-04-24 16:33:17 -04:00
Jesse Pretorius 96fb59ac5a Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.

We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.

This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:

1. Replaces 'developer mode' with an equivalent mechanism
   that uses the common role and is simpler to understand.
   We will also simplify the provisioning of pip install
   arguments when doing this.
2. Simplifies the installation of optional pip packages.
   Right now it's more complicated than it needs to be due
   to us needing to keep the py_pkgs plugin working in the
   integrated build.

Depends-On: https://review.openstack.org/598957
Change-Id: I2eba8e7ca3f66169094264f31f3e182287dfa9b2
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 12:00:19 +00:00
Kevin Carter 173a16f81f
Add packages required for osprofiler
The following packages are required in-order to run osprofiler.
these packages will provide deployers the ability to profile
a service on demand should they choose to enable the profile
functionality.

Change-Id: Ie8fd948efda21a7b5bd948086c2d083347489781
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-06-11 22:58:32 -05:00
Jean-Philippe Evrard d6b107dc6e Replace virtualenv-tools by a script
virtualenv-tools has a bug which gets triggered in gates: it can't
change the shebang of a virtualenv python bin/ files if they
were generated with a virtualenv script whose shebang ends with
python2 instead of python.

Because we can't modify virtualenv-tools, we use shell scripts
instead.

Change-Id: I964b9be6da90018f67b6a3bc1716245f52ffc9f9
Partial-Bug: #1741634
2018-01-15 14:14:24 +00:00
Mark Hamzy c1167c7c65 Delete Restart molteniron services 2017-02-09 15:20:33 -06:00
Mark Hamzy 43932691cd Add back molteniron_requires_pip_packages 2017-02-05 05:31:13 -06:00
Mark Hamzy 112ffc6cc2 Fix _pip_packagesd and add molteniron_role_project_group 2017-02-04 21:05:30 -06:00
Mark Hamzy 2f419240f2 Fixes 2017-02-01 14:36:20 -06:00
Mark Hamzy 014a2b3f01 First commit 2017-01-26 07:52:48 -06:00