aboutsummaryrefslogtreecommitdiffhomepage
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
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>
-rw-r--r--infra/bots/gen_tasks.go1
-rw-r--r--infra/bots/tasks.json8
2 files changed, 9 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)
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 5a624ec727..d95524d87c 100644
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -16722,6 +16722,10 @@
{
"name": "vpython",
"path": "cache/vpython"
+ },
+ {
+ "name": "work",
+ "path": "cache/work"
}
],
"cipd_packages": [
@@ -17204,6 +17208,10 @@
{
"name": "vpython",
"path": "cache/vpython"
+ },
+ {
+ "name": "work",
+ "path": "cache/work"
}
],
"cipd_packages": [