action #2628
obs_factory: adapt osc staging check to read the information from obs_factory
100%
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.
History
#1
Updated by ancorgs over 8 years ago
- Assignee set to aplanas
- Target version set to Staging sprint 11
#2
Updated by ancorgs over 8 years ago
- Estimated time changed from 10.00 h to 6.00 h
#3
Updated by ancorgs over 8 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 over 8 years ago
Are there any API where I can start this?
#5
Updated by ancorgs over 8 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 over 8 years ago
- File H.json H.json added
- File staging_projects.json staging_projects.json added
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 over 8 years ago
- % Done changed from 0 to 80
Initial commit in https://github.com/openSUSE/osc-plugin-factory/pull/178
#8
Updated by aplanas over 8 years ago
- Status changed from New to In Progress
After some debugging I will close the issue.
#9
Updated by aplanas over 8 years ago
- Status changed from In Progress to Resolved
#10
Updated by ancorgs over 8 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 over 8 years ago
- % Done changed from 80 to 100