Project

General

Profile

action #17042

Updated by okurz almost 7 years ago

## goal 
 Make sure that each module installs correctly. 

 ## acceptance criteria 
 * **AC1**: One module is tested on every SLES build using proxy-SCC 
 * **AC2**: Multiple modules are tested 


 ## tasks 
 * sync a module manually under todays date as fake build number and then specificy that build number as part of the scc url 
 * set `SCC_ADDONS=<module_name1>[,<module_name2>]` and SCC regurl accordingly (SCC regurl should only register SLES, not point 
 * extend openqa-scripts to any module) do the syncing automatically on a daily basis 
 * after the module(s) are registered and enabled packages should be installed from the modules, e.g. by selecting the appropriate pattern(s) 


 ## further details 

 To properly test module usage we need to use proxy-SCC to get the modules into the system. As SLE service packs and therefore also builds within service packs are meant we want to be ABI compatible test products before release we need to sync all modules can repositories to be simply installed over SCC while registering tested to osd and use the latest SLES build. For proxy-SCC URL to reference the base product as well as all modules that are already to be installed as described on SCC we just install them over SCC (That's it. No need to sync anything anywhere). https://github.com/SUSE/scc-qa-proxy . 
 Enabling modules does not install anything from it automatically. patterns or packages need to be selected, e.g. after enabling "hpcm" then "zypper search hpc" should return something. Also the repository can be explicitly selected with "zypper lr" and then all packages and patterns from that repo can be listed with "zypper search -r <nr_of_repo>". 
 So far module installation was never done besides textmode during online migration but these are actually "post-validation" tests as described in #15800. 

 As modules change on a different pace to products we should sync modules every morning from a different script with a part like `latest_addon` within rsync.pl or do the sync on demand but have rsync.pl reference the latest there is. 

 This description is based on #12908#note-4

Back