From 18eacddf5e9a9711920c75dcdba21364b6504c21 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 10 Apr 2019 16:25:36 -0700 Subject: [PATCH] Add system-required project template This gives us an empty check queue on every project so that zuul will report syntax and config errors on push to all projects in the opendev tenant. Change-Id: Icaea32826bf408c3420e547b49b1f97b2a16dc9c --- zuul.d/project-templates.yaml | 11 +++++++++++ zuul.d/projects.yaml | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 zuul.d/project-templates.yaml diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml new file mode 100644 index 0000000..1bb7a7a --- /dev/null +++ b/zuul.d/project-templates.yaml @@ -0,0 +1,11 @@ +- project-template: + name: system-required + description: | + Jobs that *every* project in OpenDev CI should have by default. + + This is automatically added to all projects in OpenDev CI, no + repository should use this directly. + # Include a check queue so that initially every repo has a check queue + # and we can report invalid zuul.yaml files. + check: + jobs: [] diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index d7915e7..5146ef6 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -1,3 +1,8 @@ +- project: + name: ^.* + templates: + - system-required + - project: name: opendev/project-config check: