Actions
action #115100
closed[qe-core] building a wheel for save_ulog (lib/Utils/Logging.pm)
Start date:
2022-09-15
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Difficulty:
Tags:
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:
- Create a folder lib which contains re-usable Perl modules (in our case: lib/Utils/Logging.pm)
- Create a folder tests which contains re-usable test modules (in our case: tests/console/start_systemd_testkit_offline.pm)
- Add a GitHubAction workflow to get CI for your wheel (no plan to implement at moment)
Actions