In previous PR, I made it possible to generate and handle ManualRebuildWithAdvisoryEvent in the ErrataAdvisoryRPMSSignedHandler which is responsible for building updated container images as a result of advisory update.
The ManualRebuildWithAdvisoryEvent contains container_images list with NVRs of container images to rebuild. This list is so far not respected by the handler - it would rebuild all the images no matter which ones have been marked for rebuild when triggering manual rebuild.
This PR changes the ErrataAdvisoryRPMsSignedHandler to respect container_images list - it passes this list down to Lightblue class which uses it to get just those container images from Lightblue instead of querying all images in lightblue.
In previous PR, I made it possible to generate and handle
ManualRebuildWithAdvisoryEventin theErrataAdvisoryRPMSSignedHandlerwhich is responsible for building updated container images as a result of advisory update.The
ManualRebuildWithAdvisoryEventcontainscontainer_imageslist with NVRs of container images to rebuild. This list is so far not respected by the handler - it would rebuild all the images no matter which ones have been marked for rebuild when triggering manual rebuild.This PR changes the
ErrataAdvisoryRPMsSignedHandlerto respectcontainer_imageslist - it passes this list down toLightblueclass which uses it to get just those container images from Lightblue instead of querying all images in lightblue.