action #2628
closedobs_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.
Files
Updated by ancorgs over 10 years ago
- Assignee set to aplanas
- Target version set to Staging sprint 11
Updated by ancorgs over 10 years ago
- Estimated time changed from 10.00 h to 6.00 h
Updated by ancorgs over 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.
Updated by ancorgs over 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 over 10 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.
Updated by aplanas over 10 years ago
- % Done changed from 0 to 80
Initial commit in https://github.com/openSUSE/osc-plugin-factory/pull/178
Updated by aplanas over 10 years ago
- Status changed from New to In Progress
After some debugging I will close the issue.
Updated by aplanas over 10 years ago
- Status changed from In Progress to Resolved
Updated by ancorgs over 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.