Commit Graph

10 Commits

Author SHA1 Message Date
Jonathan Rosser e31bfe79a4 Do not install python development packages
The python_venv_build role is responsible for setting up the build
environment for python wheels so this role should not install
python development packages

Change-Id: I0c112d49262578359e8f8843084f75eb48799778
2022-01-11 11:38:28 -05:00
Jonathan Rosser c1edfb23bc Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: Ia09789da8c8137c982dcd7560fe61a98a07309e7
2021-03-10 12:16:40 +00:00
Jonathan Rosser 03c7872536 Ensure that the rally venv build is self contained
Rally ships it's own version of upper-constraints [1].

As we move openstack-ansible to using the new pip resolver this
causes several issues. The rally specific version of u-c contains
constraints for pip/setuptools/wheel which will inevitably be in
conflict with those in global-requirement-pins. This results in
several problems.

* Rally is branchless and so applying branch-specific versions
  of openstack u-c is incorrect

* Rally should be installed using the rally u-c rather than
  openstack u-c

* Rally should not use the repo server to build wheels as the repo
  server wheel build venv will have different versions of pip/
  setuptools/wheel to those specificed in rally u-c.

* Rally venv build should not be subject to openstack-ansible
  global-requirement-pins as these are in conflict with rally u-c.

This patch introduces the changes necessary to build rally in a self
contained manner on the utility host with no use of the repo server.
It also includes a revert of I73887784cbc3ce6089a42c67871dbc6c3d54acf6.

[1] https://opendev.org/openstack/rally-openstack/raw/branch/master/upper-constraints.txt

Change-Id: Idbd71ade1ab82d2d218e560b2f10c38116ff47e3
2021-01-19 10:25:28 +00:00
Jonathan Rosser dc7e520b81 Do not install development packages on the target
This role currently passes a list of -dev packages to the
python_venv_build role which will install them on the target
rather than use them for building wheels on the repo server.

This patch removes those package installs and if any specific
dev packages are required they should instead be passed to
python_venv_build via venv_build_distro_package_list.

Change-Id: I5ed1c5145a38becd92de2842417cd6e4774b7bf9
2020-06-25 14:44:46 +03:00
Jesse Pretorius f6a3d4e041 Rename SUSE vars file to cater for any version
To make the transition between versions easier,
we rename the vars file. This also resolves
issues when meta-dependent role inclusions do
not pick up the correct file when using the
include_vars task with multiple search paths.

Depends-On: https://review.openstack.org/602924
Change-Id: Ie8fb232e352493827c6fbc7eb852d94cc4fdd5df
2018-09-16 01:57:39 +00:00
Markos Chandras ffad749951 Add openSUSE support
Add the required var files and jobs for openSUSE Leap 42.3. Moreover,
drop some packages from all distros since they do not appear to be
used anymore.

Change-Id: Ia7e53a474527339305e03ecf84004fa371da1864
2018-03-20 09:51:44 +00:00
Jeff Albert 6c07c1cd00 Add CentOS deployment support
Add the necessary vars file for CentOS support, and adjust the role
to ensure that the variables are picked up and the role is tested on
CentOS.

Change-Id: I2d99c57c5e00c9805aaeac0e7e2f173ff3b69837
Closes-Bug: 1755253
2018-03-12 13:53:58 -07:00
Jesse Pretorius bf15d504ef Rename package lists (and related vars) appropriately
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: I85fe0d5f4235c5d71ff1e8fc4066a9d1e0932684
2016-08-30 19:58:46 +01:00
Travis Truman 6f9765682a Updating os_rally to use the Multi-Distro framework
Debian-specific vars and logic have been moved to tasks
that will execute only on those distributions.

Change-Id: I6a9d04382b1f1badebf12483ce7d1d02b43f8903
Implements: blueprint multi-platform-host
2016-05-27 10:04:51 -04:00
Travis Truman 1e6d9b3a46 Inital commit 2016-03-24 17:13:47 -04:00