Commit Graph

122 Commits

Author SHA1 Message Date
Adam Williamson
8c7a99fae8 Polishing of the download_all() method
The patch jskladan applied was an older broken one I sent
accidentally; apologies. This is more or less my intended
version, with some of the cleanups from jskladan preserved
and a couple of his suggestions added (!= instead of not ==,
and a bit of just-in-case exception handling).
2015-02-20 10:01:36 +01:00
Josef Skladanka
49c3e75edf Minor polishing 2015-02-18 11:33:45 +01:00
Adam Williamson
6c04ca5904 Moar of the AdamW's wild changes 2015-02-18 10:02:50 +01:00
Adam Williamson
b54aed6aa1 Use python-wikitcms and fedfind
The basic approach is that openqa_trigger gets a ValidationEvent from
python-wikitcms - either the Wiki.current_event property for
'current', or the event specified, obtained via the newly-added
Wiki.get_validation_event(), for 'event'. For 'event' it then just
goes ahead and runs the jobs and prints the IDs. For 'current' it
checks the last run compose version for each arch and runs if needed,
as before. The ValidationEvent's 'sortname' property is the value
written out to PERSISTENT to track the 'last run' - this property is
intended to always sort compose events 'correctly', so we should
always run when appropriate even when going from Rawhide to Branched,
Branched to a TC, TC to RC, RC to (next milestone) TC.

On both paths it gets a fedfind.Release object via the ValidationEvent
- ValidationEvents have a ff_release property which is the
fedfind.Release object that matches that event. It then queries
fedfind for image locations using a query that tries to get just *one*
generic-ish network install image for each arch. It passes the
location to download_image(), which is just download_rawhide_iso()
renamed and does the same job, only it can be simpler now.

From there it works pretty much as before, except we use the
ValidationEvent's 'version' property as the BUILD setting for OpenQA,
and report_job_results get_relval_commands() is tweaked slightly to
parse this properly to produce a correct report-auto command.

Probably the most likely bits to break here are the sortname thing
(see wikitcms helpers.py fedora_release_sort(), it's pretty stupid, I
should re-write it) and the image query, which might wind up getting
more than one image depending on how exactly the F22 Alpha composes
look. I'll keep a close eye on that. We can always take the list from
fedfind and further filter it so we have just one image per arch.
Image objects have a .arch attribute so this will be easy to do if
necessary. I *could* give the fedfind query code a 'I'm feeling lucky'-
ish mode to only return one image per (whatever), but not sure if that
would be too specialized, I'll think about it.
2015-02-16 18:04:40 +01:00
Garret Raziel
45e90cd076 add file to second partition during creating disks 2015-02-13 11:58:44 +01:00
Josef Skladanka
96f3256a51 updated Phase Separation and testsuites 2015-02-13 09:48:54 +01:00
Josef Skladanka
dcd164e74e Fixed to use the current relval 2015-02-11 13:25:26 +01:00
Garret Raziel
c8e3496139 small fix of version check 2015-02-11 11:04:04 +01:00
Josef Skladanka
c29fbde4b2 Added some printouts to openqa_trigger 2015-02-04 17:15:08 +01:00
Josef Skladanka
4172436b21 Updated conf_testsuites 2015-02-04 16:35:59 +01:00
Josef Skladanka
e76eaaf246 Updated conf_test_suites 2015-02-04 14:54:20 +01:00
Josef Skladanka
471e13791e Make the thing work!
Fixed some issues & test-suites "metadata"
2015-02-03 17:46:41 +01:00
Josef Skladanka
c003f6e445 Add _ as a separator in BUILD 2015-01-30 14:58:12 +01:00
Josef Skladanka
8f6c45e710 Split build by the right symbol 2015-01-30 14:53:23 +01:00
Josef Skladanka
ec62bb2a44 Automated reporting using relval 2015-01-29 15:18:56 +01:00
Garret Raziel
9df6f064b4 add Fedora version into build tag 2015-01-29 13:56:07 +01:00
Garret Raziel
76ce5be7a6 some changes in openqa_trigger.py 2015-01-29 10:08:05 +01:00
Garret Raziel
64e70b8957 changed argument in openqa_trigger.py 2015-01-28 13:58:19 +01:00
Garret Raziel
fe2f200fe1 work on openqa_trigger.py 2015-01-28 10:58:51 +01:00
Garret Raziel
4ae77ea8c2 Start of OpenQA trigger 2015-01-27 16:02:14 +01:00
Garret Raziel
9e83f59ea6 add script for creating virtual disks 2015-01-27 12:35:04 +01:00
Josef Skladanka
0444ef2dbb Initial commit 2015-01-26 14:44:36 +01:00