Add system-required back for repos

The OpenDev rename change lost the system-required template for many
repos, add it back.

Update tools/zuul-projects-checks.py to handle this.

Change-Id: I157bdbe5cefb5cbba3fcbb18e24a8bf6e762019c
This commit is contained in:
Andreas Jaeger 2019-04-19 10:24:36 +02:00
parent 68961be103
commit 18ec3df45c
2 changed files with 11 additions and 0 deletions

View File

@ -100,6 +100,8 @@ def blacklist_jobs():
# The openstack catch all contains system-required, so skip that one.
if name == "^openstack.*":
continue
if name.startswith("^(airship|"):
continue
found = [tmpl for tmpl in project.get('templates', [])
if tmpl in blacklist_templates]
if found:

View File

@ -1,6 +1,15 @@
# Shared zuul config specific to the OpenStack Project
# Contains project pipeline definitions
- project:
# Only include system-required on openstack repos so that we don't
# run merge-check on third-party things like ansible
# Add for former OpenStack repos that got renamed as part of
# OpenDev change the system-required template as well:
name: ^(airship|jjb|starlingx|opendev|osf|performa|recordsansible|starlingx|ttygroup|windmill|x|zuul)/.*
templates:
- system-required
- project:
# Only include system-required on openstack repos so that we don't
# run merge-check on third-party things like ansible