From f2bc09c33b47238b07db2b05a3e3cfaeaa5fa31e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 21 Dec 2015 22:01:19 +0100 Subject: [PATCH] Add new python-jobs-linters template Add a new template that can be used instead of python-jobs in zuul/layout.yaml, it is the same as python-jobs but uses linters job instead of pep8. Change-Id: Ibea12fcb0078325c0457394f72ec0a799d3d8f69 --- zuul/layout.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 1ea5f5079b..8a3026531f 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -305,6 +305,20 @@ project-templates: post: - '{name}-branch-tarball-constraints' + # This is the same template as python-jobs but uses the new + # linters target instead of pep8. + - name: python-jobs-linters + check: + - 'gate-{name}-docs' + - 'gate-{name}-linters' + - 'gate-{name}-python27' + gate: + - 'gate-{name}-docs' + - 'gate-{name}-linters' + - 'gate-{name}-python27' + post: + - '{name}-branch-tarball' + - name: grenade check: - 'gate-grenade-dsvm'