blob: b0fe97f8f48bd400d50a00341d621900c8d75f94 [file] [log] [blame]
package main
// bt_reingester will scan through all the files in a GCS bucket and ingest
// them into the bt_tracestore.
import (
"flag"
"go.skia.org/infra/golden/go/tracestore/bt_tracestore"
)
func main() {
var (
btInstance = flag.String("bt_instance", "", "Bigtable instance to use in the project identified by 'project_id'")
projectID = flag.String("project_id", "skia-public", "GCP project ID.")
btTableID = flag.String("bt_table_id", "production", "BigTable table ID.")
)
flag.Parse()
btc := bt_tracestore.BTConfig{
ProjectID: *projectID,
InstanceID: *btInstance,
TableID: *btTableID,
// TODO(kjlubick): VCS
}
_ = bt_tracestore.InitBT(btc)
}