Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: perf/go/ingest/main.go

Issue 608273002: Add versioning to perf SQL database (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Incorporated Feedback 3 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: perf/go/ingest/main.go
diff --git a/perf/go/ingest/main.go b/perf/go/ingest/main.go
index 926ef4851b91c2509c21bd482b80110cea06f4e9..5245057df3ac56f18e257587848e274714cb9f63 100644
--- a/perf/go/ingest/main.go
+++ b/perf/go/ingest/main.go
@@ -35,6 +35,7 @@ var (
run = flag.String("run", "nano,nano-trybot,golden", "A comma separated list of ingesters to run.")
graphiteServer = flag.String("graphite_server", "skia-monitoring-b:2003", "Where is Graphite metrics ingestion server running.")
doOauth = flag.Bool("oauth", true, "Run through the OAuth 2.0 flow on startup, otherwise use a GCE service account.")
+ local = flag.Bool("local", false, "Running locally if true. As opposed to in production.")
)
func Init() {
@@ -156,7 +157,7 @@ func main() {
}
ingester.Init(client)
- trybot.Init()
+ trybot.Init(*local)
goldingester.Init()
ts := NewTimestamps(*timestampFile)
ts.Read()
« no previous file with comments | « perf/go/db/db_test.go ('k') | perf/go/migratedb/main.go » ('j') | perf/go/trybot/trybot.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698