]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add genconfig tox job for sample config file generation
authorMathieu Gagné <mgagne@iweb.com>
Fri, 20 Jun 2014 17:19:42 +0000 (13:19 -0400)
committerMathieu Gagné <mgagne@iweb.com>
Fri, 20 Jun 2014 17:23:08 +0000 (13:23 -0400)
Wrap generate_sample.sh in tox. This will make sure needed
dependencies are installed prior to sample config file generation.

Change-Id: I426be3416931a385f99ca5270943a0f10c60f346

tox.ini

diff --git a/tox.ini b/tox.ini
index 348745b04eb8b5820d964b4b20534c7bbafcd29c..98404315a1ac44c0e20e2790b683c9167f87a3d4 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,6 +39,10 @@ commands =
   python setup.py testr --coverage \
     --testr-args='^(?!.*test.*coverage).*$'
 
+[testenv:genconfig]
+commands =
+  bash tools/config/generate_sample.sh -b . -p cinder -o etc/cinder
+
 [testenv:venv]
 commands = {posargs}