Actions
action #56534
closedsupport list of machines for YAML job templates
Description
Motivation¶
In https://openqa.opensuse.org/admin/job_templates/35 we have
opensuse-*-Gnome-Live-x86_64:
- gnome-live:
machine: 64bit-2G
- gnome-live
- gnome-live:
machine: uefi-2G
- gnome-live:
machine: USBboot_64
so four times the same test suite that only differs in the machine selection, the second one using the default. Would be nice to remove the redundancy, e.g. by specifying the machines as list:
opensuse-*-Gnome-Live-x86_64:
- gnome-live:
machine: *defaults
- 64bit-2G
- uefi-2G
- USBboot_64
Updated by tinita about 5 years ago
opensuse-*-Gnome-Live-x86_64:
- gnome-live:
machine: *defaults # <-- this needs to be &defaults
- 64bit-2G
- uefi-2G
- USBboot_64
Updated by livdywan about 5 years ago
Perhaps it's best we start with the simplest example here to reduce confusion:
opensuse-*-Gnome-Live-x86_64:
- gnome-live:
machine:
- 64bit-2G
- uefi-2G
- USBboot_64
This would work if we allowed machine
to be a list. By extension you'd probably also expect this to work:
defaults:
- x86_64:
machine:
- 64bit-2G
- uefi-2G
- USBboot_64
That way you could have all scenarios for a list of machines.
Updated by livdywan almost 5 years ago
- Status changed from New to In Progress
- Assignee set to livdywan
Updated by livdywan almost 5 years ago
- Status changed from In Progress to Resolved
Actions