Establish in-repo Ranger Checks and Gates

Ranger is removing themselves from the
central project-config management of
checks and gates in zuul.d/projects.yaml
as part if its python 3.6 upgrade. This
patchset moves those same checks into
the ranger repository.

Change-Id: I66335f3c50a8c0f416c737a858fdd69ce0ea5c5f
This commit is contained in:
jh629g 2019-08-16 15:31:49 -05:00
parent 0b7534c723
commit d30c5bd1bd
2 changed files with 12 additions and 5 deletions

9
.zuul.yaml Normal file

@ -0,0 +1,9 @@
- project:
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py27
gate:
jobs:
- openstack-tox-pep8
- openstack-tox-py27

@ -21,14 +21,12 @@ whitelist_externals =
bash
find
[testenv:bandit]
deps = .[bandit]
commands = bandit-baseline -r orm -n5 -c bandit.yaml
[testenv:pep8]
deps =
-r{toxinidir}/test-requirements.txt
commands =
flake8 {posargs}
{[testenv:bandit]commands}
bandit-baseline -r orm -n 5 -c bandit.yaml
[testenv:venv]
commands = {posargs}