Add diskimage-builder lint job

Add a "dib" tox environment to run "dib-lint", the linting tool
diskimage-builder runs over its included elements.

Add this as a non-voting job for now; there are issues in dib-lint and
our elements to sort out
(e.g. Ibba1dadb9e819f94294c9d583b83ff698252f93f, as a start).

Change-Id: I28459a9bbaaa6175d03dbe753498849a75942538
This commit is contained in:
Ian Wienand
2015-10-01 15:12:51 +10:00
parent 32dcd6af92
commit d243e02553
3 changed files with 26 additions and 0 deletions

View File

@@ -75,3 +75,11 @@ deps =
Jinja2
PyYAML
commands = {toxinidir}/specs/generate_specs_site.py {toxinidir}/specs/specs.yaml
[testenv:dib]
# flake8 is missing from dib; see https://review.openstack.org/#/c/229780/
deps =
diskimage-builder
flake8
changedir = {toxinidir}/nodepool
commands = dib-lint