Make RecreateSKPs use the Go CIPD asset
authorEric Boren <borenet@google.com>
Mon, 17 Apr 2017 11:50:20 +0000 (07:50 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 17 Apr 2017 11:53:44 +0000 (11:53 +0000)
NOTRY=true
Bug: skia:
Change-Id: I21212b62cd068bd722598fe8daadf184c87785df
Reviewed-on: https://skia-review.googlesource.com/13583
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>

infra/bots/gen_tasks.go
infra/bots/tasks.json

index ff3cca385af8397b174532c9b473ee90e2cb8565..b6a110a323482d9572ef15c5ce302af6ee9d7408 100644 (file)
@@ -328,7 +328,7 @@ func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) str
 // dependency.
 func recreateSKPs(b *specs.TasksCfgBuilder, name string) string {
        b.MustAddTask(name, &specs.TaskSpec{
-               CipdPackages:     []*specs.CipdPackage{},
+               CipdPackages:     []*specs.CipdPackage{b.MustGetCipdPackageFromAsset("go")},
                Dimensions:       linuxGceDimensions(),
                ExecutionTimeout: 4 * time.Hour,
                ExtraArgs: []string{
index 7c3d50bb934732ff3877f9f2858727ae562f2c33..33c7bcac222a4fa82913b379e2cafd7297d0ceb9 100644 (file)
       "priority": 0.8
     },
     "Housekeeper-Nightly-RecreateSKPs_Canary": {
+      "cipd_packages": [
+        {
+          "name": "skia/bots/go",
+          "path": "go",
+          "version": "version:1"
+        }
+      ],
       "dimensions": [
         "cpu:x86-64-avx2",
         "gpu:none",
       "priority": 0.8
     },
     "Housekeeper-Weekly-RecreateSKPs": {
+      "cipd_packages": [
+        {
+          "name": "skia/bots/go",
+          "path": "go",
+          "version": "version:1"
+        }
+      ],
       "dimensions": [
         "cpu:x86-64-avx2",
         "gpu:none",