Project

General

Profile

Actions

action #2214

closed

action #2396: Refactor job_templates and friends

Better management of ENV variables on job_templates

Added by ancorgs over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
2014-04-03
Due date:
% Done:

50%

Estimated time:
30.00 h

Description

Right now, products, machines and test_suites can define environment variables. But those list of variables are only a string that is parsed. That can be improved in several ways:

  • We need to be careful about what we accept as variable names in the web ui. Since those settings are exported to the environment things like e.g LD_PRELOAD must not be allowed. Maybe we should rename all variables to start with OPENQA_ or something similar to avoid side effects in the first place.
  • Create the key / value separation of variables, as was done in job_settings table
  • Drive / limit / control the options that the user have in the UI side (DESKTOP \in {KDE, GNOME, XFCE, LXDE})

We have to decide where we want to go exactly and then implement it.


Related issues 2 (1 open1 closed)

Related to openQA Project (public) - action #2434: get rid of environment variablesResolvedmlin74422014-05-05

Actions
Related to openQA Project (public) - action #2524: [webui] better display of test suite variable settingsNew2014-05-19

Actions
Actions

Also available in: Atom PDF