mozilla-releng / buildhub2

A database index of buildhub.json files built by Mozilla
https://buildhub2.readthedocs.io/
Mozilla Public License 2.0
4 stars 13 forks source link

wip: add support for ingesting events via pubsub #1044

Open bhearsum opened 2 months ago

bhearsum commented 2 months ago

When completed, this should add support for consuming pubsub messages from GCS product delivery buckets. I suggest we continuing running both this and SQS at first, and then:

This actually should be quite easy - the pubsub API is pretty straightforward and compatible with the current architecture. The tricky part is that buildhub is woefully out of date, which makes adding new dependencies terribly difficult. The tests also don't seem to run without a postgres database being available, which makes the development cycle annoying and more difficult.

I suggest we try to bring buildhub up to date before tackling this any further.

bhearsum commented 2 months ago

https://github.com/mozilla-releng/buildhub2/issues/1045 and https://github.com/mozilla-releng/buildhub2/issues/1046 for bringing the Python side of things up to speed, https://github.com/mozilla-releng/buildhub2/issues/1047 for test improvements.

bhearsum commented 2 months ago

I also spun the Python 3.12 upgrade into https://github.com/mozilla-releng/buildhub2/pull/1048