1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 20:02:39 +01:00

configuration: Add support for section groups

Now allows for specifying a `group` value for each section which will
cross product the sections within that group with the sections in each
other group. Additionally classifiers will automatically be added to
each job spec with the relevant group information.
This commit is contained in:
Marc Bonnici
2018-09-21 16:49:50 +01:00
committed by setrofim
parent 6632223ac5
commit 891ef60f4d
4 changed files with 89 additions and 7 deletions

View File

@@ -196,9 +196,10 @@ class AgendaParser(object):
raise ConfigError(msg.format(json.dumps(section, indent=None)))
section['runtime_params'] = section.pop('params')
group = section.pop('group', None)
section = _construct_valid_entry(section, seen_sect_ids,
"s", state.jobs_config)
state.jobs_config.add_section(section, workloads)
state.jobs_config.add_section(section, workloads, group)
########################