Weekly tasks should run weekly
Change-Id: Ibe29d0730a20bc7b0fdb2c1e272b112d000c45b4
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/254904
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 983f110..bafd258 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -469,6 +469,8 @@
trigger = specs.TRIGGER_ON_DEMAND
} else if strings.Contains(name, "Nightly") {
trigger = specs.TRIGGER_NIGHTLY
+ } else if strings.Contains(name, "Weekly") {
+ trigger = specs.TRIGGER_WEEKLY
}
b.MustAddJob(name, &specs.JobSpec{
Priority: priority,
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 7740a45..5b717c8 100755
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -16,7 +16,8 @@
"Housekeeper-Weekly-UpdateCIPDPackages": {
"tasks": [
"Housekeeper-Weekly-UpdateCIPDPackages"
- ]
+ ],
+ "trigger": "weekly"
},
"Infra-Experimental-Small-Linux": {
"tasks": [