Commit Graph

18 Commits

Author SHA1 Message Date
OpenStack Release Bot c2c961317a Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I79b16ce2f6b0045f8c9239ed86d37389af14c1db
2023-12-07 11:04:12 +00:00
Dmitriy Rabotyagov 01a08f39bb Build wheels depending on presence of venv_build_group
In case venv_build_group is not present in inventory or does not contain
a single host, it does not make sense to attept building wheels.

With that we're changing default behaviour to avoid building wheels
if there're no potential targets exists.

Change-Id: Ifd0e80dd1d1f002a1b80f57b53b81ca9110e719c
2023-05-24 15:58:55 +00:00
Dmitriy Rabotyagov e24c1a4f71 Add venv_build_group variable
In order to be flexible and get rid of hardcoded repo_all group, new
variable named `venv_build_group` was added. It's set to repo_all by
default, so it is not changing current behaviour remains

Change-Id: I30c2c26abeb103de63aff0946ec7783f902886b8
2023-05-24 15:58:50 +00:00
Dmitriy Rabotyagov 4715b470f9 Always build wheels by default
Due to some corner cases that are possible with currnet logic,
it was decided to simply it and always build wheel regardless of host
count. While runtime might take a bit longer, it's always better for
scaling up to already have wheels prepared.

Closes-Bug: #2004252
Change-Id: I5f53db8476eb394516fb35d593932d2552b95a57
2023-02-07 18:36:19 +01:00
Dmitriy Rabotyagov 7fd75008cf Allow to set ENV vars for wheels build and venv install
It's not always enough to provide extra arguments for pip installation.
For usescases, like isolated installations, and some specific packages
that still utilize deprecated setuptools.installer instead of
PEP 517 installer,
you might find impossible to provide some easyisntall options without
having a configuration file that should be created by deployer as
pre-step. However, these options might be covered with ENV variables.

Change-Id: I9a060cbcdf9f5c54efd423a4b4fe32b418377f86
2023-01-23 14:17:47 +01:00
OpenStack Release Bot 61141126d0 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I720d64d26b796db633fe9cae25c0b0497637ad00
2022-12-13 13:04:36 +00:00
Dmitriy Rabotyagov 57a2f226eb Run wheels build for each unique distro/arch
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.

Change-Id: I492d17169538ad2768e28f7c48314bdec407ab36
Closes-Bug: #1964535
2022-06-29 15:37:02 +00:00
Dmitriy Rabotyagov 5051b52275 Split venv_rebuild functionality
This patch aims to split functionality of ``venv_rebuild`` into 2
separate parts - rebuilding venv and rebuilding wheels. That will give
more control over what needs to be done.

Change-Id: Ie14f12c6756cd1f866b660acc8fd6aa5695f6c33
Related-Bug: #1914301
2022-05-11 10:07:48 +00:00
Andrew Bonney 680a728876 Add distro/arch to requirements file path
This addresses an issue when upgrading between different operating
systems. In this case, the requirements files already exist for
the old OS, which prevents new wheels from being created for the
new OS. By using a different requirements path for each OS this is
avoided.

As part of this, repeated variable construction for the
requirements path is factored our into a vars file.

Change-Id: I881a40fee31df78bf96e451509671543a49520d9
2021-08-10 13:19:16 +01:00
Andreas Jaeger 01e12c0f66 use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I6dfffecab2d2b600f6aa1183a39cf7c3074e1efb
2020-06-03 18:56:42 +02:00
OpenStack Release Bot 7a4fd2c556 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ib68418f21c88090dda66e54e6677ecc61e42ad8d
Sem-Ver: feature
2020-06-01 13:06:58 +00:00
Andreas Jaeger 57e14de065 Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I11b5f1c1ba6313b9bef39754f02ec129b0db7e4f
2020-05-20 16:45:36 +00:00
Andreas Jaeger a50dd18cc1 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: I41d8153a0543f6983dd97311243f057d270e17ef
2020-04-25 15:17:06 +02:00
Dmitriy Rabotyagov b16372aefd Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.
Also we change upper constraints url due to [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I25008ce16c4d1b7516683b68bba3b318cdc424e2
2019-11-14 19:59:32 +02:00
OpenStack Release Bot 1ba1f34494 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I3a6b032e76b0f02b1a0857a9c45a58aa374234ae
Sem-Ver: feature
2019-10-22 18:51:40 +00:00
OpenStack Release Bot cc4e87d79a Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I540825928f59fe8b0394a5c34fd35b326851f412
Sem-Ver: feature
2019-04-08 09:13:27 +00:00
OpenStack Release Bot 27471f7b65 Update reno for stable/rocky
Change-Id: I41b237980b4aa61b04289ec9c878eba9302d5a5b
2018-08-10 16:44:00 +00:00
Jesse Pretorius 8ffaab139b Add CI/docs/releasenotes scaffolding and basic test
Change-Id: I27c70ff45d5361a80811575d62328f35ef35e0a1
2018-03-24 22:42:06 +00:00