Test all nodepool files
We now have nl03, loop over all nodepool files so that new files get automatically tested. Change-Id: Iddd4afda10a6cb95b7783ab0454c805d8df7313e
This commit is contained in:
parent
8c3d8a93cc
commit
60128af709
5
tools/nodepool-validate.sh
Executable file
5
tools/nodepool-validate.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
for n in nodepool/n*.yaml ; do
|
||||||
|
nodepool -c $n config-validate
|
||||||
|
done
|
4
tox.ini
4
tox.ini
@ -102,9 +102,7 @@ commands = env ELEMENTS_DIR=elements dib-lint
|
|||||||
|
|
||||||
[testenv:nodepool]
|
[testenv:nodepool]
|
||||||
commands =
|
commands =
|
||||||
nodepool -c {toxinidir}/nodepool/nodepool.yaml config-validate
|
{toxinidir}/tools/nodepool-validate.sh
|
||||||
nodepool -c {toxinidir}/nodepool/nl01.openstack.org.yaml config-validate
|
|
||||||
nodepool -c {toxinidir}/nodepool/nl02.openstack.org.yaml config-validate
|
|
||||||
|
|
||||||
[testenv:add-projects-to-main]
|
[testenv:add-projects-to-main]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user