#338 Initial code to send rebuild requests to Bob on Errata advisory state change.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker bob  into  master

Download 338.patch

This adds new handlers.bob.RebuildImagesOnImageAdvisoryChange handler which
handles the ErrataAdvisoryStateChangedEvent.

This handler uses Errata Tool and Pulp to get the list of Docker repositories
in which the images attached to advisory will end up (ended up). It then
requests Bob to rebuild images depending on them.

This also adds new pulp_docker_* config variables, because Docker images are
stored in different Pulp instance than RPMs.

This could be run only once outside for-loop.

Yeah, this should most likely be repo_name. Good catch. I'm going to fix this and extend the tests to catch this issue.

rebased onto 115c2810fcd4d81ffeaec4701e2279bac7e47ebf

@cqi: updated.

Commit 484ffbac fixes this pull-request

Pull-Request has been merged by jkaluza

Pull-Request has been merged by jkaluza

Metadata