Add infra-puppet-core and release groups

Add these groups to all infra puppet-* repositories.

Change-Id: Ib125de1197e77f4cbba3a4b04faf096c08a73dc6
This commit is contained in:
James E. Blair 2015-06-23 15:00:39 -07:00
parent ebcf675c92
commit 4143675444

View File

@ -157,9 +157,19 @@ def main():
core_groups = ['infra-core']
for project in projects:
shortname = project.split('/')[1]
for suffix in ['-core', '-release']:
group = shortname + suffix
configure_group(gerrit, group, include_groups=['infra-core'])
group = shortname + '-core'
include_groups = ['infra-core']
if shortname.startswith('puppet-'):
include_groups.append('infra-puppet-core')
configure_group(gerrit, group, include_groups=include_groups)
group = shortname + '-release'
include_groups = ['infra-core']
if shortname.startswith('puppet-'):
include_groups.append('infra-puppet-release')
configure_group(gerrit, group, include_groups=include_groups)
group = shortname + '-core'
core_groups.append(group)