Open jlebon opened 3 years ago
The FCOS pipeline now broadcasts a fedmsg whenever stream metadata changes: https://github.com/coreos/coreos-assembler/blob/93b7a510457ffe8f0cd9233db9eafd92ae26c8fe/src/cosalib/fedora_messaging_request.py#L84
Example msg:
https://apps.fedoraproject.org/datagrepper/id?id=2020-5c429b71-ae65-4b50-ad7d-432ce1126244&is_raw=true&size=extra-large
{ "topic": "org.fedoraproject.prod.coreos.stream.metadata.update", "headers": {}, "msg": { "stream": "stable" } }
Cincinnati could use this to optimize its refreshes and lower the polling frequency so it's just a fallback mechanism.
The FCOS pipeline now broadcasts a fedmsg whenever stream metadata changes: https://github.com/coreos/coreos-assembler/blob/93b7a510457ffe8f0cd9233db9eafd92ae26c8fe/src/cosalib/fedora_messaging_request.py#L84
Example msg:
https://apps.fedoraproject.org/datagrepper/id?id=2020-5c429b71-ae65-4b50-ad7d-432ce1126244&is_raw=true&size=extra-large
Cincinnati could use this to optimize its refreshes and lower the polling frequency so it's just a fallback mechanism.