trove/devstack
wu.chunyang e1b72b5115 [CI]: Add support for Ubuntu Jammy
Run tests on Ubuntu Jammy in zuul.
refer to:https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ib12b92ed4ddd9133ad7a3d079534d02f403dbdc0
2023-09-01 15:29:04 +08:00
..
files [CI]: fix trove api started failed 2023-08-18 02:52:33 +00:00
plugin.sh [CI]: fix trove api started failed 2023-08-18 02:52:33 +00:00
README.rst Fix syntax error 2019-05-06 18:32:53 +08:00
settings [CI]: Add support for Ubuntu Jammy 2023-09-01 15:29:04 +08:00

Enabling Trove in DevStack

To enable Trove in DevStack, perform the following steps:

Note: The python-troveclient is automatically installed.  If you need to
control how the client gets installed, set the TROVECLIENT_REPO,
TROVECLIENT_DIR and TROVECLIENT_BRANCH environment variables appropriately.

Download DevStack

export DEVSTACK_DIR=~/devstack
git clone https://opendev.org/openstack/devstack.git $DEVSTACK_DIR

Enable the Trove plugin

Enable the plugin by adding the following section to $DEVSTACK_DIR/local.conf

[[local|localrc]]
enable_plugin trove https://opendev.org/openstack/trove

Optionally, a git refspec (branch or tag or commit) may be provided as follows:

[[local|localrc]]
enable_plugin trove https://opendev.org/openstack/trove <refspec>

Run the DevStack utility

cd $DEVSTACK_DIR
./stack.sh