Project

General

Profile

Actions

action #88223

closed

[openqa-in-openqa] Remove special-case on load_osautoinst_tests with OPENQA_FROM_GIT

Added by livdywan over 3 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-01-26
Due date:
% Done:

0%

Estimated time:

Description

We have a new test running with OPENQA_CONTAINERS=1 in addition to the existing cases. And during a review of the job template YAML we came across this special-case since the new scenario wouldn't inherit the settings from the openqa_from_git scenario. The main.pm of os-autoinst-distri-openQA has this condition:

# testing from git only tests webui so far
load_osautoinst_tests() unless check_var('OPENQA_FROM_GIT', 1);

From the comment it seems like we should enable more tests to run load_osautoinst_tests. For now the openQA in openQA job group contains OPENQA_FROM_GIT=1 in the scenario definition in YAML.

Acceptance Criteria

  • AC1:

Suggestions

  • Drop OPENQA_FROM_GIT=1 special-case from main.pm
  • Extend use cases for load_osautoinst_tests and rename the flag accordingly
Actions

Also available in: Atom PDF