From 5cc450b609ea392f87d2b1cbec7f866a473af56e Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Wed, 10 Jul 2019 07:37:16 -0400 Subject: [PATCH] [infra] No relative path for infra_tests.isolate This should allow dependent repos to use their own version of this isolate file. Change-Id: I5f20eafbd10319eef70ddb65b434269ca99d5c9f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226416 Reviewed-by: Ben Wagner aka dogben Commit-Queue: Eric Boren --- infra/bots/gen_tasks.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go index fd8a7eb85c..5734e0430a 100644 --- a/infra/bots/gen_tasks.go +++ b/infra/bots/gen_tasks.go @@ -1058,11 +1058,14 @@ func infra(b *specs.TasksCfgBuilder, name string) string { } } extraProps := map[string]string{ - "repository": specs.PLACEHOLDER_REPO, + "repository": specs.PLACEHOLDER_REPO, } task := kitchenTask(name, "infra", "infra_tests.isolate", SERVICE_ACCOUNT_COMPILE, dims, extraProps, OUTPUT_NONE) task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GSUTIL...) task.Idempotent = true + // Repos which call into Skia's gen_tasks.go should define their own + // infra_tests.isolate and therefore should not use relpath(). + task.Isolate = "infra_tests.isolate" usesGit(task, name) // We don't run bot_update, but Go needs a git repo. usesGo(b, task, name) b.MustAddTask(name, task)