Stop spamming ansible/ansible
Having the system-required template in place means we're running merge-check on all ansible patches - and reporting back the results. We need to stop that. Change-Id: I75f6086174eb8f64d82185a153a55641425c9632
This commit is contained in:
parent
2f80ef8c80
commit
fc3505d4a3
@ -31,6 +31,10 @@ def check_system_templates():
|
||||
print("=====================================")
|
||||
for entry in projects:
|
||||
project = entry['project']
|
||||
# TODO(mordred) Generalize this, but for now, avoid doing this check
|
||||
# on ansible.
|
||||
if project['name'] == 'ansible/ansible':
|
||||
continue
|
||||
try:
|
||||
correct = False
|
||||
for template in project['templates']:
|
||||
@ -94,7 +98,7 @@ def check_release_jobs():
|
||||
for entry in projects:
|
||||
project = entry['project']
|
||||
name = project['name']
|
||||
found = [tmpl for tmpl in project['templates']
|
||||
found = [tmpl for tmpl in project.get('templates', [])
|
||||
if tmpl in release_templates]
|
||||
if len(found) > 1:
|
||||
errors = True
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
- project:
|
||||
name: ansible/ansible
|
||||
templates:
|
||||
- system-required
|
||||
# ansible/ansible does not include system-required on purpose. We do not
|
||||
# gate ansible/ansible and we should NOT be doing merge-check on it.
|
||||
check:
|
||||
jobs:
|
||||
- shade-ansible-devel-functional-devstack:
|
||||
|
Loading…
Reference in New Issue
Block a user