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:
8
tox.ini
8
tox.ini
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user