mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Change CI group identifiers. (#5344)
This commit is contained in:
parent
d76392ed2a
commit
e47845ab3a
131 changed files with 156 additions and 158 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue