Permalink
Browse files

Merge "Refactor of linting/config validation"

  • Loading branch information...
Zuul authored and openstack-gerrit committed Nov 30, 2017
2 parents baae24a + 1a65cd1 commit 1335bb3ab996f088d0c5d7defc48352312f88b59
Showing with 4 additions and 32 deletions.
  1. +0 −27 ci-scripts/linters/lint-browbeat-config.py
  2. +0 −1 conf/browbeat-workloads.yml
  3. +4 −4 tox.ini

This file was deleted.

Oops, something went wrong.
@@ -3,7 +3,6 @@ browbeat:
results: results/
rerun: 1
cloud_name: openstack
overcloud_credentials: /home/stack/overcloudrc
elasticsearch:
enabled: false
regather: false
View
@@ -17,10 +17,10 @@ commands =
bash -c "cd ansible; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
ansible-lint \
-x ANSIBLE0013,ANSIBLE0012,ANSIBLE0006,ANSIBLE0007,ANSIBLE0010,ANSIBLE0016"
python ci-scripts/linters/lint-browbeat-config.py browbeat/validate.yaml browbeat-config.yaml
python ci-scripts/linters/lint-browbeat-config.py browbeat/validate.yaml browbeat-complete.yaml
bash -c "for config in $(ls conf/); do \
python ci-scripts/linters/lint-browbeat-config.py browbeat/validate.yaml conf/$config; done"
pykwalify -d browbeat-config.yaml -s browbeat/validate.yaml
pykwalify -d browbeat-complete.yaml -s browbeat/validate.yaml
bash -c "set -e; for config in $(ls conf/); do \
pykwalify -d conf/$config -s browbeat/validate.yaml; done"
[testenv:pep8]
commands = flake8 {posargs}

0 comments on commit 1335bb3

Please sign in to comment.