Check for jobs without attributes in Zuul layout.yaml
This check ensures jobs are not defined without attributes in the jobs section of Zuul layout.yaml Change-Id: Id81d2272b0a0c4546197e2ab0f992f46a259de77
This commit is contained in:
parent
e505ee913c
commit
862bd57be4
|
@ -128,6 +128,9 @@ def check_jobs():
|
|||
if not found:
|
||||
print ("Regex %s has no matches in job list" % jobs['name'])
|
||||
errors = True
|
||||
if len(jobs.keys()) == 1:
|
||||
print ("Job %s has no attributes in job list" % jobs['name'])
|
||||
errors = True
|
||||
|
||||
return errors
|
||||
|
||||
|
|
|
@ -2809,8 +2809,6 @@ jobs:
|
|||
branch: ^(?!stable/liberty).*$
|
||||
voting: false
|
||||
|
||||
- name: ^gate-tempest-dsvm-full-ceph-plugin-src-.*$
|
||||
|
||||
- name: ^gate-tempest-dsvm-smoke-tlsproxy.*$
|
||||
voting: false
|
||||
|
||||
|
|
Loading…
Reference in New Issue