Use dedicated config file for config generator

Change-Id: I1c9dcdb118005e10bc180afe8c81c8567c0b4c7b
This commit is contained in:
Pavlo Shchelokovskyy 2016-03-04 14:50:26 +02:00 committed by Dmitry Tantsur
parent 490e4749c0
commit b71a3d9c79
2 changed files with 9 additions and 9 deletions

8
config-generator.conf Normal file
View File

@ -0,0 +1,8 @@
[DEFAULT]
output_file = example.conf
namespace = ironic_inspector
namespace = ironic_inspector.common.swift
namespace = ironic_inspector.plugins.discovery
namespace = keystonemiddleware.auth_token
namespace = oslo.db
namespace = oslo.log

10
tox.ini
View File

@ -42,15 +42,7 @@ commands =
[testenv:genconfig]
envdir = {toxworkdir}/venv
commands =
oslo-config-generator \
--output-file example.conf \
--namespace ironic_inspector \
--namespace keystonemiddleware.auth_token \
--namespace ironic_inspector.common.swift \
--namespace ironic_inspector.plugins.discovery \
--namespace oslo.db \
--namespace oslo.log
commands = oslo-config-generator --config-file config-generator.conf
[flake8]
max-complexity=15