From 204a302de427ccb559e50b653b59aa6569b2cf5e Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 10 Aug 2017 14:25:40 -0700 Subject: [PATCH] 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 --- tools/layout-checks.py | 16 ++++++++++++++++ zuul/layout.yaml | 5 ----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/tools/layout-checks.py b/tools/layout-checks.py index 2a8fdfd6de..0f8b74107d 100755 --- a/tools/layout-checks.py +++ b/tools/layout-checks.py @@ -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 \ diff --git a/zuul/layout.yaml b/zuul/layout.yaml index d4122c3018..d7cf0e8c79 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -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