FedimgConsumerΒΆ
Fedimg at it’s core uses FedimgConsumer which is a Fedmsg consumer. FedimgConsumer listions to the fedmsg bus for the completed Pungi composes.
FedimgConsumer listens to pungi.compose.status.change
topic. On receiving a
message from fedmsg it:
- Checks if the status of the compose is either
FINISHED_INCOMPLETE
orFINISHED
. - Then, it proceeds to strips the fedmsg-blanket to get the core message.
- It parses the image location and starts the upload process.
- For every event, Fedimg sends out a fedimg notification with the
fedimg
category. Read more about the list of topics here