diff --git a/.gitreview b/.gitreview index db51fe7..a7d62bf 100644 --- a/.gitreview +++ b/.gitreview @@ -1,4 +1,4 @@ [gerrit] -host=review.fuel-infra.org +host=review.openstack.org port=29418 -project=nextgen/project-config.git +project=openstack/fuel-ccp-ci-config.git diff --git a/tools/run-check-yaml-syntax.sh b/tools/run-check-yaml-syntax.sh new file mode 100755 index 0000000..e393c54 --- /dev/null +++ b/tools/run-check-yaml-syntax.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +### Temp yaml syntax checker script. +set -e +for file in $(find . -name '*.yaml'); do + yamllint -d relaxed $file +done diff --git a/tox.ini b/tox.ini index d0b7825..512b7c0 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,11 @@ minversion = 1.6 skipsdist = True envlist = bashate +[testenv:linters] +deps = yamllint +commands = + {toxinidir}/tools/run-check-yaml-syntax.sh + [testenv:bashate] deps = bashate>=0.2 whitelist_externals = bash