mozilla / missioncontrol

Real-time monitoring of Firefox release health
Mozilla Public License 2.0
21 stars 18 forks source link

Switch to buildhub.moz.tools #358

Closed peterbe closed 5 years ago

peterbe commented 5 years ago

Context: https://github.com/mozilla/buildhub2/issues/90

Untested, but this is what needs to change:

-BUILDHUB_SERVER = config('BUILDHUB_SERVER', default='buildhub.prod.mozaws.net')
+BUILDHUB_SERVER = config('BUILDHUB_SERVER', default='buildhub.moz.tools')

and

-BUILDHUB_URL = 'https://{}/v1/buckets/build-hub/collections/releases/search'.format(BUILDHUB_SERVER)
+BUILDHUB_URL = 'https://{}/api/search'.format(BUILDHUB_SERVER)

But we'd need to check that the env var hasn't already been overridden to the default.

wlach commented 5 years ago

Pretty sure we just use the defaults, I'll do up a PR.