4a622fe8d8
This the initial framework for testing, plus playbook to stop / start / restart zuul. Change-Id: Ic941dc8517591c7487c1d901ff7cf2ebb7e7e3ff Signed-off-by: Paul Belanger <pabelanger@redhat.com>
25 lines
492 B
INI
25 lines
492 B
INI
[tox]
|
|
minversion = 1.4.2
|
|
envlist = linters
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:linters]
|
|
basepython = python3
|
|
whitelist_externals = bash
|
|
commands =
|
|
yamllint -s .
|
|
flake8
|
|
bash -c "ansible-lint -x 405 playbooks/*/*.yaml"
|
|
|
|
[flake8]
|
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
|
|
show-source = True
|
|
ignore = E123,E125
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|