Actions
action #156169
openAutomatically validate openQA AutoYaST profile ay-openqa-worker.xml.erb size:S
Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2024-02-27
Due date:
% Done:
0%
Estimated time:
Tags:
Description
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 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
Files
Actions