Project

General

Profile

action #2628

obs_factory: adapt osc staging check to read the information from obs_factory

Added by ancorgs over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2014-06-05
Due date:
% Done:

100%

Estimated time:
6.00 h

Description

Once all the logic is moved server side, we need to adapt the osc staging plugin to display the already processed information instead of gathering it by itself.

H.json (1.94 KB) H.json ancorgs, 2014-07-07 14:01
staging_projects.json (15.2 KB) staging_projects.json ancorgs, 2014-07-07 14:01

History

#1 Updated by ancorgs about 6 years ago

  • Assignee set to aplanas
  • Target version set to Staging sprint 11

#2 Updated by ancorgs about 6 years ago

  • Estimated time changed from 10.00 h to 6.00 h

#3 Updated by ancorgs about 6 years ago

It would be probably wise to temporary create a new command while leaving the old "osc staging check" in place, so we can compare the output of "check" and "newcheck" for some time to make sure that everything keeps working properly before dropping the client-side logic.

#4 Updated by aplanas about 6 years ago

Are there any API where I can start this?

#5 Updated by ancorgs about 6 years ago

As soon as we deploy https://github.com/openSUSE-Team/obs_factory somewhere you will have access to the API at

 http://the_obs_instance/factory/staging_projects.json
 http://the_obs_instance/factory/staging_projects/A.json

After lunch, I will look for a convenient place to deploy :-)

#6 Updated by ancorgs about 6 years ago

Attached some examples of what could be eventually obtained from http://build.opensuse.org/factory/staging_projects.json and http://build.opensuse.org/factory/staging_projects/H.json

Unfortunately, it doesn't include examples of values for every single attribute, but should be enough as starting point.

#7 Updated by aplanas about 6 years ago

  • % Done changed from 0 to 80

#8 Updated by aplanas about 6 years ago

  • Status changed from New to In Progress

After some debugging I will close the issue.

#9 Updated by aplanas about 6 years ago

  • Status changed from In Progress to Resolved

#10 Updated by ancorgs about 6 years ago

https://github.com/openSUSE-Team/obs_factory/pull/9 adds a "modules" attribute to the openqa_jobs in the JSON. So the missing info can now be added.

#11 Updated by aplanas about 6 years ago

  • % Done changed from 80 to 100

Also available in: Atom PDF