trove/devstack
Lingxian Kong 4fe95fbaf3 Disable devstack image building for trove-scenario-mariadb-single CI job
Trove mainly uses trovestack script to trigger the CI tests, including
the guest agent image building, so the image building in devstack could
be skipped to decrease the testing duration.

Change-Id: I26fa0adc1a5e39612be15b75d37d22ea1cca3be1
Story: #2005391
Task: #30380
2019-04-09 09:20:22 +12:00
..
files enable trove-api behind mod-wsgi 2017-04-25 06:54:29 -04:00
plugin.sh Disable devstack image building for trove-scenario-mariadb-single CI job 2019-04-09 09:20:22 +12:00
README.rst Add doc8 to pep8 check for trove project 2017-11-30 08:28:55 +07:00
settings Fix tests for Ubuntu Bionic migration of CI jobs 2019-03-28 10:32:26 +00: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 git://git.openstack.org/openstack-dev/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 git://git.openstack.org/openstack/trove

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

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

Run the DevStack utility

cd $DEVSTACK_DIR
./stack.sh