Project

General

Profile

Actions

action #56534

closed

support list of machines for YAML job templates

Added by okurz over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2019-09-06
Due date:
% Done:

0%

Estimated time:

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
Actions #1

Updated by tinita over 5 years ago

opensuse-*-Gnome-Live-x86_64:
- gnome-live:
    machine: *defaults # <-- this needs to be &defaults
     - 64bit-2G
     - uefi-2G
     - USBboot_64
Actions #2

Updated by livdywan over 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.

Actions #3

Updated by coolo about 5 years ago

  • Target version set to Ready

A list sounds plausible

Actions #4

Updated by livdywan about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to livdywan
Actions #5

Updated by livdywan about 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF