From 2f62de01d3a703696dc1a51d2473a88be68a7574 Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Thu, 3 May 2018 09:56:48 -0400 Subject: [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 Commit-Queue: Eric Boren --- infra/bots/gen_tasks.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'infra/bots/gen_tasks.go') 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", } -- cgit v1.2.3