Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of new fedmsgs... or not #43

Open
jlebon opened this issue Dec 18, 2020 · 0 comments
Open

Make use of new fedmsgs... or not #43

jlebon opened this issue Dec 18, 2020 · 0 comments

Comments

@jlebon
Copy link
Member

jlebon commented Dec 18, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant