aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/gen_tasks.go
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2018-05-15 17:19:42 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-16 14:42:57 +0000
commit5a12d0578ac447c0eeecdba477a4b547999faaa1 (patch)
tree3078532346ecb6f44904018c7a5cfa80e59179bb /infra/bots/gen_tasks.go
parent32043a6e7bcb1ac2cc4339dcfc5276ef2ae00f09 (diff)
Run RecreateSKPs bot on SkiaCT pool which has more disk space
Should not take up much capacity since it only runs once a day. Bug: skia:7917 Change-Id: I6e489341032ef40df8cedae4e92c5f00d9a2df91 Reviewed-on: https://skia-review.googlesource.com/128405 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r--infra/bots/gen_tasks.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index ee916f8c92..95fed7264e 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -819,7 +819,11 @@ func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) str
// task in the generated chain of tasks, which the Job should add as a
// dependency.
func recreateSKPs(b *specs.TasksCfgBuilder, name string) string {
- task := kitchenTask(name, "recreate_skps", "swarm_recipe.isolate", SERVICE_ACCOUNT_RECREATE_SKPS, linuxGceDimensions(MACHINE_TYPE_LARGE), nil, OUTPUT_NONE)
+ dims := []string{
+ "pool:SkiaCT",
+ fmt.Sprintf("os:%s", DEFAULT_OS_LINUX_GCE),
+ }
+ task := kitchenTask(name, "recreate_skps", "swarm_recipe.isolate", SERVICE_ACCOUNT_RECREATE_SKPS, dims, nil, OUTPUT_NONE)
task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GIT...)
task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("go"))
timeout(task, 4*time.Hour)