From 55bc873e73cf0a7e0d65c5e1396e1bacb428eb77 Mon Sep 17 00:00:00 2001 From: borenet Date: Thu, 13 Oct 2016 10:25:52 -0700 Subject: [PATCH] [task scheduler] Trybots assume rietveld for now Eventually we'll switch to gerrit-only. Supporting both will probably be more complicated than it's worth. BUG=skia:5723 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2413653005 Review-Url: https://codereview.chromium.org/2413653005 --- infra/bots/gen_tasks.go | 10 +++++----- infra/bots/tasks.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go index 25bcc5d2e8..ca9046f417 100644 --- a/infra/bots/gen_tasks.go +++ b/infra/bots/gen_tasks.go @@ -255,7 +255,7 @@ func compile(cfg *specs.TasksCfg, name string, parts map[string]string) string { fmt.Sprintf("swarm_out_dir=%s", specs.PLACEHOLDER_ISOLATED_OUTDIR), fmt.Sprintf("revision=%s", specs.PLACEHOLDER_REVISION), fmt.Sprintf("patch_storage=%s", specs.PLACEHOLDER_PATCH_STORAGE), - fmt.Sprintf("%s=%s", specs.PLACEHOLDER_PATCH_STORAGE, specs.PLACEHOLDER_CODEREVIEW_SERVER), + fmt.Sprintf("rietveld=%s", specs.PLACEHOLDER_CODEREVIEW_SERVER), fmt.Sprintf("issue=%s", specs.PLACEHOLDER_ISSUE), fmt.Sprintf("patchset=%s", specs.PLACEHOLDER_PATCHSET), }, @@ -323,7 +323,7 @@ func test(cfg *specs.TasksCfg, name string, parts map[string]string, compileTask fmt.Sprintf("swarm_out_dir=%s", specs.PLACEHOLDER_ISOLATED_OUTDIR), fmt.Sprintf("revision=%s", specs.PLACEHOLDER_REVISION), fmt.Sprintf("patch_storage=%s", specs.PLACEHOLDER_PATCH_STORAGE), - fmt.Sprintf("%s=%s", specs.PLACEHOLDER_PATCH_STORAGE, specs.PLACEHOLDER_CODEREVIEW_SERVER), + fmt.Sprintf("rietveld=%s", specs.PLACEHOLDER_CODEREVIEW_SERVER), fmt.Sprintf("issue=%s", specs.PLACEHOLDER_ISSUE), fmt.Sprintf("patchset=%s", specs.PLACEHOLDER_PATCHSET), }, @@ -347,7 +347,7 @@ func test(cfg *specs.TasksCfg, name string, parts map[string]string, compileTask fmt.Sprintf("swarm_out_dir=%s", specs.PLACEHOLDER_ISOLATED_OUTDIR), fmt.Sprintf("revision=%s", specs.PLACEHOLDER_REVISION), fmt.Sprintf("patch_storage=%s", specs.PLACEHOLDER_PATCH_STORAGE), - fmt.Sprintf("%s=%s", specs.PLACEHOLDER_PATCH_STORAGE, specs.PLACEHOLDER_CODEREVIEW_SERVER), + fmt.Sprintf("rietveld=%s", specs.PLACEHOLDER_CODEREVIEW_SERVER), fmt.Sprintf("issue=%s", specs.PLACEHOLDER_ISSUE), fmt.Sprintf("patchset=%s", specs.PLACEHOLDER_PATCHSET), }, @@ -377,7 +377,7 @@ func perf(cfg *specs.TasksCfg, name string, parts map[string]string, compileTask fmt.Sprintf("swarm_out_dir=%s", specs.PLACEHOLDER_ISOLATED_OUTDIR), fmt.Sprintf("revision=%s", specs.PLACEHOLDER_REVISION), fmt.Sprintf("patch_storage=%s", specs.PLACEHOLDER_PATCH_STORAGE), - fmt.Sprintf("%s=%s", specs.PLACEHOLDER_PATCH_STORAGE, specs.PLACEHOLDER_CODEREVIEW_SERVER), + fmt.Sprintf("rietveld=%s", specs.PLACEHOLDER_CODEREVIEW_SERVER), fmt.Sprintf("issue=%s", specs.PLACEHOLDER_ISSUE), fmt.Sprintf("patchset=%s", specs.PLACEHOLDER_PATCHSET), }, @@ -401,7 +401,7 @@ func perf(cfg *specs.TasksCfg, name string, parts map[string]string, compileTask fmt.Sprintf("swarm_out_dir=%s", specs.PLACEHOLDER_ISOLATED_OUTDIR), fmt.Sprintf("revision=%s", specs.PLACEHOLDER_REVISION), fmt.Sprintf("patch_storage=%s", specs.PLACEHOLDER_PATCH_STORAGE), - fmt.Sprintf("%s=%s", specs.PLACEHOLDER_PATCH_STORAGE, specs.PLACEHOLDER_CODEREVIEW_SERVER), + fmt.Sprintf("rietveld=%s", specs.PLACEHOLDER_CODEREVIEW_SERVER), fmt.Sprintf("issue=%s", specs.PLACEHOLDER_ISSUE), fmt.Sprintf("patchset=%s", specs.PLACEHOLDER_PATCHSET), }, diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json index 69d5e25f8d..2c3a9a70a7 100644 --- a/infra/bots/tasks.json +++ b/infra/bots/tasks.json @@ -39,7 +39,7 @@ "swarm_out_dir=${ISOLATED_OUTDIR}", "revision=<(REVISION)", "patch_storage=<(PATCH_STORAGE)", - "<(PATCH_STORAGE)=<(CODEREVIEW_SERVER)", + "rietveld=<(CODEREVIEW_SERVER)", "issue=<(ISSUE)", "patchset=<(PATCHSET)" ], @@ -86,7 +86,7 @@ "swarm_out_dir=${ISOLATED_OUTDIR}", "revision=<(REVISION)", "patch_storage=<(PATCH_STORAGE)", - "<(PATCH_STORAGE)=<(CODEREVIEW_SERVER)", + "rietveld=<(CODEREVIEW_SERVER)", "issue=<(ISSUE)", "patchset=<(PATCHSET)" ], @@ -133,7 +133,7 @@ "swarm_out_dir=${ISOLATED_OUTDIR}", "revision=<(REVISION)", "patch_storage=<(PATCH_STORAGE)", - "<(PATCH_STORAGE)=<(CODEREVIEW_SERVER)", + "rietveld=<(CODEREVIEW_SERVER)", "issue=<(ISSUE)", "patchset=<(PATCHSET)" ], @@ -163,7 +163,7 @@ "swarm_out_dir=${ISOLATED_OUTDIR}", "revision=<(REVISION)", "patch_storage=<(PATCH_STORAGE)", - "<(PATCH_STORAGE)=<(CODEREVIEW_SERVER)", + "rietveld=<(CODEREVIEW_SERVER)", "issue=<(ISSUE)", "patchset=<(PATCHSET)" ], @@ -193,7 +193,7 @@ "swarm_out_dir=${ISOLATED_OUTDIR}", "revision=<(REVISION)", "patch_storage=<(PATCH_STORAGE)", - "<(PATCH_STORAGE)=<(CODEREVIEW_SERVER)", + "rietveld=<(CODEREVIEW_SERVER)", "issue=<(ISSUE)", "patchset=<(PATCHSET)" ],