scheduler: use productmd 'subvariant' property
ClosedPublic

Authored by adamwill on Mar 17 2016, 7:22 PM.

Details

Summary

productmd/releng folks kindly added a 'subvariant' property to
productmd image dicts, which fills the gap that we had to cover
by synthesizing 'payload'. This adjusts the scheduler to use it
and ditch the payload synthesizing stuff. Makes things a lot
cleaner! The only fiddle we have to do is to strip '_Base' from
the subvariant value if it's there; the subvariant for Cloud
disk images is 'Cloud_Base', but in Wikitcms result pages, we
always use 'Cloud' as the identifier...this actually shouldn't
matter at preset as we don't test any cloud images, but just in
case.

Test Plan

Test that job scheduling and result reporting all work
exactly as before. The subvariant values for all images we test
should be identical to the old 'payload' values, so all the openQA
flavor names should be unchanged.

Diff Detail

Repository
rOPENQA fedora_openqa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adamwill retitled this revision from to scheduler: use productmd 'subvariant' property.Mar 17 2016, 7:22 PM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.
garretraziel accepted this revision.Mar 18 2016, 1:28 PM
This revision is now accepted and ready to land.Mar 18 2016, 1:28 PM
This revision was automatically updated to reflect the committed changes.