aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/gen_tasks.go
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2018-04-26 15:29:37 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 19:53:53 +0000
commitd19f039a16cc4ed29dc6f0ef7100125819ca291d (patch)
treeb832657f445f06c6781606189544938bf416c483 /infra/bots/gen_tasks.go
parente4949406ebcc5d5d8f83c1cd96209763d278b1e2 (diff)
[infra] Fix missing cache for Bookmaker
Bug: skia: Change-Id: I12d42fa1bb364ea6c75865f72143daf92b8c12c3 Reviewed-on: https://skia-review.googlesource.com/124052 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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 383c455c9f..ae94b08fcb 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -843,6 +843,7 @@ func housekeeper(b *specs.TasksCfgBuilder, name, compileTaskName string) string
// in the generated chain of tasks, which the Job should add as a dependency.
func bookmaker(b *specs.TasksCfgBuilder, name, compileTaskName string) string {
task := kitchenTask(name, "bookmaker", "swarm_recipe.isolate", SERVICE_ACCOUNT_BOOKMAKER, linuxGceDimensions(), nil, OUTPUT_NONE)
+ task.Caches = append(task.Caches, CACHES_WORKDIR...)
task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GIT...)
task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("go"))
task.Dependencies = append(task.Dependencies, compileTaskName)