Change CI group identifiers. (#5344)

This commit is contained in:
Felix Fontein 2022-10-11 07:34:36 +02:00 committed by GitHub
commit e47845ab3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
131 changed files with 156 additions and 158 deletions

View file

@ -20,13 +20,13 @@ def main():
with open('.azure-pipelines/azure-pipelines.yml', 'rb') as f:
azp = yaml.safe_load(f)
allowed_targets = set(['shippable/cloud/group1'])
allowed_targets = set(['azp/generic/1'])
for stage in azp['stages']:
if stage['stage'].startswith(('Sanity', 'Unit', 'Cloud', 'Summary')):
if stage['stage'].startswith(('Sanity', 'Unit', 'Generic', 'Summary')):
continue
for job in stage['jobs']:
for group in job['parameters']['groups']:
allowed_targets.add('shippable/posix/group{0}'.format(group))
allowed_targets.add('azp/posix/{0}'.format(group))
for path in paths:
targets = []