summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-02-06 21:55:49 +0100
committerAndreas Jaeger <aj@suse.com>2017-02-06 22:00:24 +0100
commitdc00e2439df031b2f604cbb93ea97faa44591cb8 (patch)
treef3fb757f876201dab924d7ea5c7552ae35245b0d /CONTRIBUTING.rst
parent4e5de549f5703f8d47f7834429f78b437e429090 (diff)
downloadoslo-db-dc00e2439df031b2f604cbb93ea97faa44591cb8.tar.gz
Prepare for using standard python testsmitaka-eolstable/mitaka
Add simple script to setup mysql and postgresql databases, this script can be run by users during testing and will be run by CI systems for specific setup before running unit tests. This is exactly what is currently done by OpenStack CI in project-config. This allows to change in project-config the python-db jobs to python-jobs since python-jobs will call this script initially. See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html Update CONTRIBUTING.rst for this. Needed-By: Ia298e25f9b15a2dcfc4553ea058fc2c0f3705a8b Change-Id: I825b72e3f645d02f7efdb3315a12825a8c937759 (cherry picked from commit 353ab3904749987841e72846098433fb957936fc)
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 019004c..651f64c 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -59,4 +59,8 @@ For MySQL you can use the following commands::
mysql> GRANT ALL PRIVILEGES ON * . * TO 'openstack_citest'@'localhost';
mysql> FLUSH PRIVILEGES;
+See the script ``tools/test-setup.sh`` on how the databases are set up
+excactly in the OpenStack CI infrastructure and use that for your
+set up.
+
.. _wiki: https://wiki.openstack.org/wiki/Testing#Unit_Tests