From 17c7fed4382d260aafed41afd6271df70e086378 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 9 Oct 2024 15:41:59 -0700 Subject: [PATCH] Re-enable the zuul config check This was temporarily disabled for a one-time import. Change-Id: Ic719b9053c4de025543c2f038aa3d01c70cd5fb5 --- gerrit/projects.yaml | 1 - tools/check_valid_gerrit_projects.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 0049431e75..0456f44994 100644 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -6782,7 +6782,6 @@ - project: vexxhost/project-config description: Zuul configuration files for the Vexxhost tenant acl-config: /home/gerrit2/acls/vexxhost/vexxhost.config - upstream: https://opendev.org/opendev/project-config - project: vexxhost/rally_exporter description: OpenStack Rally exporter for Prometheus acl-config: /home/gerrit2/acls/vexxhost/vexxhost.config diff --git a/tools/check_valid_gerrit_projects.py b/tools/check_valid_gerrit_projects.py index 41a5ce6a49..351160a078 100755 --- a/tools/check_valid_gerrit_projects.py +++ b/tools/check_valid_gerrit_projects.py @@ -79,8 +79,7 @@ def check_repo(repo_path, default_branch): head = repo.head.commit.tree for z in ['zuul.yaml', '.zuul.yaml', 'zuul.d', '.zuul.d']: if z in head: - # TEMPORARY: - # found_errors += 1 + found_errors += 1 print(" ERROR: Found %s on branch %s" % (z, branch)) print(" Remove any zuul config files before import.")