add bare bones devstack integration
this will let us run tempest test in CI Change-Id: Id7d996e736c14cebdd430248aa72b8b5e50f0720
This commit is contained in:
parent
be68dc39ac
commit
98d1f5cd12
|
@ -0,0 +1,32 @@
|
|||
====================
|
||||
Enabling in Devstack
|
||||
====================
|
||||
|
||||
**WARNING**: the stack.sh script must be run in a disposable VM that is not
|
||||
being created automatically, see the README.md file in the "devstack"
|
||||
repository.
|
||||
|
||||
1. Download DevStack::
|
||||
|
||||
git clone https://git.openstack.org/openstack-dev/devstack.git
|
||||
cd devstack
|
||||
|
||||
2. Add this repo as an external repository::
|
||||
|
||||
> cat local.conf
|
||||
[[local|localrc]]
|
||||
enable_plugin freezer-tempest-plugin https://git.openstack.org/openstack/freezer-tempest-plugin
|
||||
|
||||
3. run ``stack.sh``
|
||||
|
||||
Running Freezer tempest tests
|
||||
=============================
|
||||
|
||||
1. Listing Freezer tempest tests::
|
||||
|
||||
tempest list-plugins
|
||||
|
||||
2. Running freezer tempest tests::
|
||||
|
||||
cd /opt/stack/tempest
|
||||
tempest run -r freezer_tempest_test
|
|
@ -0,0 +1,13 @@
|
|||
# install_freezer_tempest_plugin
|
||||
function install_freezer_tempest_plugin {
|
||||
setup_dev_lib "freezer-tempest-plugin"
|
||||
}
|
||||
|
||||
if [[ "$1" == "stack" ]]; then
|
||||
case "$2" in
|
||||
install)
|
||||
echo_summary "Installing freezer-tempest-plugin"
|
||||
install_freezer_tempest_plugin
|
||||
;;
|
||||
esac
|
||||
fi
|
|
@ -0,0 +1,3 @@
|
|||
GITREPO["freezer-tempest-plugin"]=${FREEZER_TEMPEST_REPO:-${GIT_BASE}/openstack/freezer-tempest-plugin.git}
|
||||
GITDIR["freezer-tempest-plugin"]=$DEST/freezer-tempest-plugin
|
||||
GITBRANCH["freezer-tempest-plugin"]=master
|
Loading…
Reference in New Issue