Project

General

Profile

Actions

action #1316

closed

A general manual configuration file

Added by aplanas over 10 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2014-01-27
Due date:
% Done:

50%

Estimated time:

Description

(Original Author: Yifan Jiang)

Most part of this is based on Makefile.pm::iso_new, it is not seldom that we change part of the file when there is not in the existed entries taking care of a particular job creation. Relevant code snippet:

-----------------------><-----------------------
settings => {
'DESKTOP' => 'kde',
'HDDSIZEGB' => '20',
'BTRFS' => 1,
}
-----------------------><-----------------------

It could be more convenient to extract these items as a local configuration file, something like $HOME/.openqarc, containing some pseudo configuration like:

--------------------><--------------------
Section "JOBS"
Job "SLED 12 live"
ISO="path/sled12-gnome-live.iso"
DESKTOP="GNOME"
LVM='1'
NICEVIDEO='1'
...
KVM_PARA="-m 1024 -net user -vga cirrus..."

   Job "SLED 12 KDE"
       ISO="path/sled12.iso"
       DESKTOP="KDE"
       LVM='0'
       NICEVIDEO='1'
       ...
       KVM_PARA="-m 1024 -net user -vga cirrus..."

--------------------><--------------------

Noticeably the KVM_PARA here is a frequently revised key from 'startqemu.pm', since in practice we may want to launch KVM with different parameters.

Hopefully the modified configuration could take effect without manually iso_delete/iso_new/restart worker, instead this may work directly to reflect every changes in the file:

$ systemctrl reload openqa

The above was the detailed things we expected in past practice. I understood it may need your overall consideration since there might be other concerns, or even more "configration" needs to take care by this proposed file. Nevertheless, I feel it still makes sense to spread the idea.


Related issues 1 (0 open1 closed)

Related to openQA Project - action #912: openqa: implement some smart prio distributionRejected

Actions
Actions

Also available in: Atom PDF