Add job to test all aspects of projects yaml
Define the env and job, switch to it in a subsequent change. Change-Id: Id7b037aabb85e571f0ac54e88e67d4183a791ee8
This commit is contained in:
parent
c095466d82
commit
9dc9c3b642
@ -99,3 +99,17 @@
|
|||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: gate-config-projects-yaml
|
||||||
|
node: 'bare-precise || bare-trusty'
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- revoke-sudo
|
||||||
|
- gerrit-git-prep
|
||||||
|
- tox:
|
||||||
|
envlist: projects
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- console-log
|
||||||
|
6
tox.ini
6
tox.ini
@ -11,6 +11,12 @@ deps = -r{toxinidir}/test-requirements.txt
|
|||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
|
[testenv:projects]
|
||||||
|
deps = PyYAML
|
||||||
|
commands =
|
||||||
|
{toxinidir}/tools/check_upstream_url_scheme.py modules/openstack_project/files/review.projects.yaml
|
||||||
|
{toxinidir}/tools/check_projects_yaml_alphabetized.sh
|
||||||
|
|
||||||
[testenv:upstream]
|
[testenv:upstream]
|
||||||
deps = PyYAML
|
deps = PyYAML
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user