Fix dib-lint
dib-lint no longer assumes the elements directory is named 'elements'[1] so the project-config dib lint job fails with something like this: Running dib-lint in /home/jenkins/workspace/gate-project-config-dib/nodepool find: ‘diskimage_builder/elements’: No such file or directory Checking indents... find: ‘diskimage_builder/elements’: No such file or directory find: ‘diskimage_builder/lib’: No such file or directory /home/jenkins/workspace/gate-project-config-dib/.tox/dib/bin/dib-lint: line 55: exclusions: unbound variable because the variable in question depends on finding some elements. This patch makes the elements directory explicit. [1] http://git.openstack.org/cgit/openstack/diskimage-builder/tree/bin/dib-lint#n24 Change-Id: Iaeb4d1a933cde91190c31b9f46515e636b07f453
This commit is contained in:
parent
72713cb991
commit
5280c0c452
2
tox.ini
2
tox.ini
|
@ -108,7 +108,7 @@ commands = {toxinidir}/specs/generate_specs_site.py {toxinidir}/specs/specs.yaml
|
|||
deps =
|
||||
diskimage-builder
|
||||
changedir = {toxinidir}/nodepool
|
||||
commands = dib-lint
|
||||
commands = env ELEMENTS_DIR=elements dib-lint
|
||||
|
||||
[testenv:nodepool]
|
||||
commands = nodepool -c {toxinidir}/nodepool/nodepool.yaml config-validate
|
||||
|
|
Loading…
Reference in New Issue