enable release jobs

This change adds the publish-to-pypi job template
for the whitebox-tempest-plugin.
This change also correct the syntax error in the
README.rst preventign the twine check command form passing.

this will enable releases to be done via commits to the release
repo via pypi https://pypi.org/project/whitebox-tempest-plugin/

a side effect of this process is the creation of git tags
and release tarballs for each tagged release.

Change-Id: I5cf0e3072c0502320866de1ce9771d61f1e0ec1b
This commit is contained in:
Sean Mooney 2024-04-19 17:48:59 +01:00
parent 7aff829b47
commit 82c307a034
4 changed files with 14 additions and 9 deletions

View File

@ -181,6 +181,8 @@
images_type: default
- project:
templates:
- publish-to-pypi
check:
jobs:
- whitebox-devstack-multinode

View File

@ -173,4 +173,3 @@
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

View File

@ -34,6 +34,8 @@ Install, configure and run
This should be done from source. ::
.. code-block:: shell
WORKSPACE=/some/directory
cd $WORKSPACE
git clone https://opendev.org/openstack/whitebox-tempest-plugin
@ -46,13 +48,14 @@ Install, configure and run
``whitebox_tempest_plugin/config.py`` instead. As an example, here is a
configuration for a multinode TripleO deployment::
[whitebox]
ctlplane_addresses = compute-0.localdomain:192.168.24.6,compute-1.localdomain:192.168.24.12
ctlplane_ssh_username = heat-admin
ctlplane_ssh_private_key_path = /home/stack/.ssh/id_rsa
containers = true
max_compute_nodes = 2 # Some tests depend on there being a single
# (available) compute node
.. code-block:: ini
[whitebox]
ctlplane_addresses = compute-0.localdomain:192.168.24.6,compute-1.localdomain:192.168.24.12
ctlplane_ssh_username = heat-admin
ctlplane_ssh_private_key_path = /home/stack/.ssh/id_rsa
containers = true
max_compute_nodes = 2 # Some tests depend on there being a single (available) compute node
3. Execute the tests. ::
@ -61,7 +64,7 @@ Install, configure and run
.. important::
Whitebox expects its tests to run one at a time. Make sure to pass
`--serial` or `--concurrency 1` to `tempest run`.
``--serial`` or ``--concurrency 1`` to ``tempest run``.
How to add a new test

View File

@ -3,6 +3,7 @@ name = whitebox-tempest-plugin
summary = Tempest plugin for whitebox testing. For testing things not exposed through the REST APIs.
description-file =
README.rst
long_description_content_type = text/x-rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://opendev.org/openstack/whitebox-tempest-plugin