diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-12-06 15:40:24 -0800 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-12-06 15:40:24 -0800 |
commit | 6ba95e62a6df910050a83bce5876cc33364ba301 (patch) | |
tree | c08b78fde2f87dec6a755f3261b9710c7413439e /tox.ini | |
parent | 049cddda6716091fdcad190ca7a84fb938e61dbf (diff) | |
download | ironic-6ba95e62a6df910050a83bce5876cc33364ba301.tar.gz |
Add tools/conf/check_uptodate to tox.ini
To ensure that our sample config file, etc/ironic/ironic.conf.sample,
does not get out of sync with the code, this patch introduces a check
to tox that will compare the proposed ironic.conf.sample to a
freshly generated one, and error if they are not identical.
Ported from Nova's tools/config/check_uptodate.sh script.
Change-Id: Ic2898142754547e32bc4c03d23eca5d6a33721fc
Closes-bug: 1255621
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ downloadcache = ~/cache/pip [testenv:pep8] commands = flake8 {posargs} + {toxinidir}/tools/conf/check_uptodate.sh [testenv:cover] setenv = VIRTUAL_ENV={envdir} |