Project

General

Profile

action #115100

Updated by szarate over 1 year ago

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 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 

 ~~~ yaml haml 
 version: v0.1 
 wheels: 
   - $github_user_or_organization/functional-wheel-launcher os-autoinst/os-autoinst-distri-opensuse/functional-wheel-launcher 
   or 
   - $github_user_or_organization/functional-wheel-launcher#branch-name os-autoinst/os-autoinst-distri-opensuse/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) 

Back