Zuulv3: Remove check/gate jobs from zuul and friends

These projects now have their check and gate pipelines managed by
Zuul v3.

Change-Id: I9bc8ff30e0bf19240cbdc94c18ef181b76482a25
Depends-On: I5637a76e1174c2beec06c24edacf99fbd2975c98
Depends-On: Ib8e96d42120597fe374d72ce898aa07f176f52fc
Depends-On: If6845e5dd8751707eec4fadc8bf1dc2199b93d87
This commit is contained in:
James E. Blair 2017-08-10 14:25:40 -07:00
parent 5df323ef2d
commit 204a302de4
2 changed files with 16 additions and 5 deletions

View File

@ -40,6 +40,10 @@ def check_merge_template():
print("\nChecking for usage of merge template")
print("====================================")
for project in layout['projects']:
# TODO(jeblair): Temporarily (for the zuul v3 transition)
# disable this check for infra repos
if project['name'].startswith('openstack-infra'):
continue
if project['name'] == 'z/tempest':
continue
try:
@ -181,6 +185,10 @@ def check_empty_check():
print("====================================")
for project in layout['projects']:
# TODO(jeblair): Temporarily (for the zuul v3 transition)
# disable this check for infra repos
if project['name'].startswith('openstack-infra'):
continue
# z/tempest is a fake project with no check queue
if project['name'] == 'z/tempest':
continue
@ -199,6 +207,10 @@ def check_empty_gate():
print("====================================")
for project in layout['projects']:
# TODO(jeblair): Temporarily (for the zuul v3 transition)
# disable this check for infra repos
if project['name'].startswith('openstack-infra'):
continue
gate_jobs = collect_pipeline_jobs(project, 'gate')
if not gate_jobs:
print("Project %s has no gate jobs" % project['name'])
@ -235,6 +247,10 @@ def check_gerrit_zuul_projects():
print("===================================================")
for gp in gerrit_projects:
# TODO(jeblair): Temporarily (for the zuul v3 transition)
# disable this check for infra repos
if gp.startswith('openstack-infra'):
continue
# Check the gerrit config for a different acl file
acls = [ x['acl-config'] if 'acl-config' in x else None \

View File

@ -4156,7 +4156,6 @@ projects:
- name: openstack-infra/openstack-zuul-jobs
template:
- name: merge-check
- name: infra-publish-jobs
- name: openstack-infra/openstack-zuul-roles
@ -5241,10 +5240,7 @@ projects:
- name: openstack-infra/zuul
template:
- name: merge-check
- name: publish-to-pypi
- name: python-jobs
- name: python35-jobs
- name: infra-publish-jobs
experimental:
- gate-zuul-nodepool
@ -5256,7 +5252,6 @@ projects:
- name: openstack-infra/zuul-jobs
template:
- name: merge-check
- name: infra-publish-jobs
- name: openstack-infra/zuul-packaging