Project

General

Profile

Actions

action #57536

closed

coordination #15132: [saga][epic] Better structure of test plans in main.pm

[functional][y] implement autodeployment of the job group settings to osd

Added by riafarov over 4 years ago. Updated about 3 years ago.

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

  1. YAML is validated in PR
  2. 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'.


Related issues 1 (1 open0 closed)

Related to openQA Project - action #50675: Commit changes to scheduling YAML to Git repositoryNew2019-04-24

Actions
Actions

Also available in: Atom PDF