redhat-exd-rebuilds / freshmaker

Freshmaker is a service that automatically rebuilds content.
https://redhat-exd-rebuilds.github.io/freshmaker/
MIT License
9 stars 23 forks source link

Fix async build #239

Closed qixiang closed 1 year ago

qixiang commented 1 year ago
  1. Include brew.package in image metadata returned by Pyxis, it's used by async build feature.

  2. In async build handler, PyxisAPI instance is used with its APIs, but while resolving an image, the resolve methods accepts a PyxisGQL instance, so async build fails with find_images_by_nvr method not found, just wrap the API in PyxisAPI as a workaround.