Project

General

Profile

Actions

action #115100

closed

[qe-core] building a wheel for save_ulog (lib/Utils/Logging.pm)

Added by zluo over 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
-
Start date:
2022-09-15
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:

Description

Arccoding to the blog at https://kalikiana.gitlab.io/post/2022-08-04-re-inventing-the-wheel we can now build a wheel for openQA tests.

create a repository for building a wheel

create wheels.yaml, this yaml file points to our new repos which will be cloned before any test module is executed.
wheels.yaml points to https://github.com/os-autoinst/os-autoinst-distri-opensuse/functional-wheel-launcher

version: v0.1
wheels:
  - $github_user_or_organization/functional-wheel-launcher
  or
  - $github_user_or_organization/functional-wheel-launcher#branch-name

Note: WHEELS_DIR can be used to override this location (our case: 'functional-wheel-launcher') explicitly.

Build a wheel for save_ulog:

  1. Create a folder lib which contains re-usable Perl modules (in our case: lib/Utils/Logging.pm)
  2. Create a folder tests which contains re-usable test modules (in our case: tests/console/start_systemd_testkit_offline.pm)
  3. Add a GitHubAction workflow to get CI for your wheel (no plan to implement at moment)

Subtasks 1 (0 open1 closed)

action #116599: [qe-core] SCC regcodes leaking mitigation - wheels fail in CI Compile checks when enabledResolveddheidler2022-09-15

Actions

Related issues 1 (0 open1 closed)

Precedes openQA Project - action #115004: Use github.com/os-autoinst/os-autoinst-wheel-launcher in os-autoinst-distri-opensuse as wellRejectedszarate2022-09-16

Actions
Actions

Also available in: Atom PDF