The scripts in this directory were used to extract past build statistics from Cirrus GraphQL endpoint, and save to BigQuery tables. The data contains build statistics for four repositories: flutter/flutter, flutter/engine, flutter/packages. The designed time range is from 01/01/2020 to present (end of September 2020), though to ensure the coverage of 01/01/2020, we collected more data points eariler than that.
Here's a brief example of how to run these scripts.
go test -v ./model/ go test -v ./graphql/ mkdir tmp go run extract.go go run transform.go ./load.sh