From a54f18af5f7c756f5b4070eb1f80e02678d255e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Mon, 22 May 2023 15:48:11 -0400 Subject: [PATCH] Add tempest to devstack how-to Depends-On: Icd99f467d47aaafaaf3ee8f2a3c4da08842cb672 Change-Id: I6fa1ec351a6b7ee22df213bb2c2a62bead7a055d --- devstack/local.conf.example | 2 +- doc/source/contributor/devstack.rst | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/devstack/local.conf.example b/devstack/local.conf.example index 137644c3b..f174226d0 100644 --- a/devstack/local.conf.example +++ b/devstack/local.conf.example @@ -5,7 +5,7 @@ disable_all_services # enable_plugin barbican https://opendev.org/openstack/barbican stable/ enable_plugin barbican https://opendev.org/openstack/barbican -enable_service rabbit mysql key +enable_service rabbit mysql key tempest # Modify passwords as needed DATABASE_PASSWORD=secretdatabase diff --git a/doc/source/contributor/devstack.rst b/doc/source/contributor/devstack.rst index 1b638445a..e26a1978f 100644 --- a/doc/source/contributor/devstack.rst +++ b/doc/source/contributor/devstack.rst @@ -21,14 +21,14 @@ distributions`_ with all available system package updates. # CentOS sudo dnf install git -3. Clone DevStack +#. Clone DevStack .. code-block:: bash git clone https://opendev.org/openstack/devstack.git cd devstack/ -4. Add the Barbican plugin to the ``local.conf`` file and verify the +#. Add the Barbican plugin to the ``local.conf`` file and verify the minimum services required are included. You can pull down a specific branch by appending the name to the end of the git URL. If you leave the space empty like below, then origin/master will be pulled. @@ -36,7 +36,7 @@ distributions`_ with all available system package updates. .. code-block:: ini enable_plugin barbican https://opendev.org/openstack/barbican - enable_service rabbit mysql key + enable_service rabbit mysql key tempest If this is your first time and you do not have a ``local.conf`` file, there is a working sample file in the `Barbican repository`_. @@ -44,8 +44,16 @@ distributions`_ with all available system package updates. .. _`Barbican repository`: https://opendev.org/openstack/barbican/src/branch/master/devstack/local.conf.example -5. Start DevStack +#. Start DevStack .. code-block:: bash ./stack.sh + +#. Clone and install barbican-tempest-plugin + + .. code-block:: bash + + cd /opt/stack/ + git clone https://opendev.org/openstack/barbican-tempest-plugin.git + pip install -e /opt/stack/barbican-tempest-plugin