diff options
author | Eric Boren <borenet@google.com> | 2018-05-03 09:56:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-03 14:37:31 +0000 |
commit | 2f62de01d3a703696dc1a51d2473a88be68a7574 (patch) | |
tree | 7339422225190d4788f97802e7700b23a35133bc /infra/bots/gen_tasks.go | |
parent | b2e3934569d101063b4bc5518c966a03c9d81d6e (diff) |
[recipes] Mostly remove bot_update patch_ref hack
We need to do some refactoring to remove the repository hack for
cross-repo tryjobs.
Bug: skia:6473
Change-Id: Ie96fba75f6f1752575a4c7cc5b0208a37f0bd73d
Reviewed-on: https://skia-review.googlesource.com/125724
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r-- | infra/bots/gen_tasks.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go index f7cf1ba7da..ae1529a4ed 100644 --- a/infra/bots/gen_tasks.go +++ b/infra/bots/gen_tasks.go @@ -225,6 +225,7 @@ func kitchenTask(name, recipe, isolate, serviceAccount string, dimensions []stri "buildbucket_build_id": specs.PLACEHOLDER_BUILDBUCKET_BUILD_ID, "buildername": name, "patch_issue": specs.PLACEHOLDER_ISSUE, + "patch_ref": specs.PLACEHOLDER_PATCH_REF, "patch_repo": specs.PLACEHOLDER_PATCH_REPO, "patch_set": specs.PLACEHOLDER_PATCHSET, "patch_storage": specs.PLACEHOLDER_PATCH_STORAGE, @@ -1098,7 +1099,7 @@ func presubmit(b *specs.TasksCfgBuilder, name string) string { "category": "cq", "patch_gerrit_url": "https://skia-review.googlesource.com", "patch_project": "skia", - "patch_ref": fmt.Sprintf("refs/changes/%s/%s/%s", specs.PLACEHOLDER_ISSUE_SHORT, specs.PLACEHOLDER_ISSUE, specs.PLACEHOLDER_PATCHSET), + "patch_ref": specs.PLACEHOLDER_PATCH_REF, "reason": "CQ", "repo_name": "skia", } |