Skip to content

mozilla-releng/buildhub2

Repository files navigation

Buildhub2

Buildhub2 is an index of build information for Firefox, Firefox Dev Edition, Thunderbird, and Fennec.

Circle CI status pyup status rennovate status What's Deployed ReadTheDocs status

Production server: https://buildhub.moz.tools/

Overview

Every time Taskcluster builds a version of Firefox, Fennec, etc. the built files are put into an S3 bucket. One of the files that is always accompanied is a file called buildhub.json that we download, validate an index into a PostgreSQL database as well as Elasticsearch.

When files are saved to the S3 bucket, the filename gets added to the SQS queue which is consumed by the daemon. The daemon looks at the filenames and indexes the buildhub.json ones into Buidlhub2.

Buildhub2 has a webapp which is a single-page-app that helps you make Elasticsearch queries and displays the results.

Buildhub2 has an API which you can use to query the data.

For more on these, see the user docs.

First Principles

Buildhub2 reflects data on archive.mozilla.org.

Buildhub2 will never modify, create, or remove build data from the buildhub.json files that are discovered and indexed. If the data is wrong, it needs to be fixed on archive.mozilla.org.

Buildhub2 records are immutable.

If a certain buildhub.json file is created, its primary key becomes a hash of its content. If, under the same URL, the buildhub.json is modified, it will lead to a new record in Buildhub.