action #56534
support list of machines for YAML job templates
Start date:
2019-09-06
Due date:
% Done:
0%
Estimated time:
Difficulty:
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
History
#1
Updated by tinita over 1 year ago
opensuse-*-Gnome-Live-x86_64: - gnome-live: machine: *defaults # <-- this needs to be &defaults - 64bit-2G - uefi-2G - USBboot_64
#2
Updated by cdywan over 1 year 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.
#4
Updated by cdywan over 1 year ago
- Status changed from New to In Progress
- Assignee set to cdywan
#5
Updated by cdywan over 1 year ago
- Status changed from In Progress to Resolved