From 620d610eaaf03217f3a038c031fe28ce43132166 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Wed, 30 Dec 2015 18:49:56 +0800 Subject: Generate the kolla-build.conf file using oslo_config Closes-Bug: #1530122 Change-Id: I96039eade2aacf1bcd9d14d958cdddd915fc9a5c --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 5d778cade..ea86928d5 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ skipsdist = True envlist = functional,pep8 [testenv] +usedevelop=True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -102,6 +103,11 @@ commands = bash -c "if [ ! -d .testrepository ]; then testr init; fi" sudo -g docker testr run test_build.BuildTestUbuntuSource +[testenv:genconfig] +whitelist_externals = which +commands= + oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf + [flake8] show-source = True exclude=.eggs,.git,.tox,doc -- cgit v1.2.3