Actions
action #57536
closedcoordination #15132: [saga][epic] Better structure of test plans in main.pm
[functional][y] implement autodeployment of the job group settings to osd
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
2019-09-30
Due date:
% Done:
0%
Estimated time:
8.00 h
Difficulty:
Description
Motivation¶
I, as a openQA operator =D want to submit changes to the job group yaml and get them automatically deployed to osd.
This also includes part, that yaml should be validated before the deployment and api call result should be validated too.
Suggestions¶
Here we store our yaml https://gitlab.suse.de/riafarov/qa-sle-functional-y/tree/master/JobGroups
Acceptance criteria¶
- YAML is validated in PR
- Return code of api call is processed and reports errors
API description: https://openqa.suse.de/api
This is the api we should use:
+/job_templates_scheduling/id:num
POST job_templates_schedulingidnum Updates a job group according to the given YAML template. Test suites are added or modified as needed to reflect the difference to what's specified in the template. The given YAML will be validated and results in an error if it doesn't conform to the schema. Returns a 400 code on error, or a 303 code and the job template id within a JSON block on success.
Job Group id of YaST job group is '129'.
Actions