Add nodepool config-validation environment

Add validation test for the nodepool configuration.  We get nodepool
directly from git so we can always handle the latest syntax changes
automatically.

Change-Id: I5d58648bca160d8afc81aae3d8daf0c7bd01c976
Depends-On: I250ea4959740cfc4650e9057caba09ae7bc25768
This commit is contained in:
Ian Wienand 2015-03-17 11:06:23 +11:00
parent b3ba5531f1
commit 6892b11603
2 changed files with 4 additions and 0 deletions

View File

@ -2,3 +2,4 @@ hacking>=0.5.6,<0.8
Sphinx>=1.1.2,<1.2 Sphinx>=1.1.2,<1.2
oslosphinx oslosphinx
bashate>=0.2 bashate>=0.2
-e git://git.openstack.org/openstack-infra/nodepool#egg=nodepool

View File

@ -25,3 +25,6 @@ select = H231
[testenv:bashate] [testenv:bashate]
commands = {toxinidir}/tools/run-bashate.sh commands = {toxinidir}/tools/run-bashate.sh
[testenv:nodepool]
commands = nodepool -c {toxinidir}/modules/openstack_project/templates/nodepool/nodepool.yaml.erb config-validate