Project

General

Profile

Actions

action #115100

closed

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

Added by zluo over 2 years ago. Updated 11 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 (public) - action #115004: Use github.com/os-autoinst/os-autoinst-wheel-launcher in os-autoinst-distri-opensuse as wellRejectedszarate2022-09-16

Actions
Actions #1

Updated by zluo over 2 years ago

  • Subject changed from [qe-core] building a wheel for save_ulog (lib/Logging.pm) to [qe-core] building a wheel for save_ulog (lib/Utils/Logging.pm)
Actions #3

Updated by zluo over 2 years ago

  • Description updated (diff)
Actions #5

Updated by szarate over 2 years ago

  • Description updated (diff)

@zluo, one thing, is that you will need to create a repository, and that's where you add the lib/Utils/Logging.pm

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

And the rest of the files under your own repo, you can also skip the workflow file, as we won't need it for the time being (later we will add unit tests to the wheel itself)

Actions #6

Updated by zluo over 2 years ago

  • Description updated (diff)

repository with some contents got created:

https://github.com/Zaoliang/functional-wheel

Actions #7

Updated by zluo over 2 years ago

  • Status changed from New to In Progress

https://github.com/Zaoliang/functional-wheel/runs/7789384490?check_suite_focus=true

workflow on github looks good, still need some works for wheel repository :)

Actions #9

Updated by zluo over 2 years ago

  • Project changed from 46 to openQA Tests (public)
Actions #10

Updated by zluo over 2 years ago

  • Category set to New test
Actions #11

Updated by zluo over 2 years ago

  • Status changed from In Progress to Resolved

resolved

Actions #12

Updated by szarate over 2 years ago

  • Precedes action #115004: Use github.com/os-autoinst/os-autoinst-wheel-launcher in os-autoinst-distri-opensuse as well added
Actions #14

Updated by szarate 11 months ago

  • Tags set to platform-team
Actions

Also available in: Atom PDF