Project

General

Profile

action #156169

Updated by okurz 18 days ago

## Motivation 

 https://github.com/os-autoinst/openQA/blob/master/contrib/ay-openqa-worker.xml.erb is used for openqa workers.  
 This is passed as-is to the autoyast and seems to work. 
 But when we generate the xml manual 
 - Either TW or Leap 
 - install autoyast2 
 - Run `sudo yast2 autoyast check-profile filename=ay-openqa-worker.xml.erb output=result.xml run-scripts=true run-erb=true` 

 Then complains for: 
 - firewall configuration 
 - failure to run the scripts 

 I am not sure about the requirements about the later, but firewall should be easy to address. 

 ## Acceptance criteria 
 * **AC1:** Automatic CI tests verify the validity of the autoyast profile generated by the template file 

 ## Suggestions 
 * Implement an openQA test that verifies the profile 
 * Or an openSUSE container running the yast2 call? Consider github actions triggered by changes to the file or only in master 
 * Document how to use the profile and ensure only a working profile is documented

Back