Project

General

Profile

Actions

action #2628

closed

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

Added by ancorgs almost 10 years ago. Updated almost 10 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.


Files

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
Actions #1

Updated by ancorgs almost 10 years ago

  • Assignee set to aplanas
  • Target version set to Staging sprint 11
Actions #2

Updated by ancorgs almost 10 years ago

  • Estimated time changed from 10.00 h to 6.00 h
Actions #3

Updated by ancorgs almost 10 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.

Actions #4

Updated by aplanas almost 10 years ago

Are there any API where I can start this?

Actions #5

Updated by ancorgs almost 10 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 :-)

Updated by ancorgs almost 10 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.

Actions #7

Updated by aplanas almost 10 years ago

  • % Done changed from 0 to 80
Actions #8

Updated by aplanas almost 10 years ago

  • Status changed from New to In Progress

After some debugging I will close the issue.

Actions #9

Updated by aplanas almost 10 years ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by ancorgs almost 10 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.

Actions #11

Updated by aplanas almost 10 years ago

  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF