aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2018-04-26 08:58:26 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 13:22:43 +0000
commit1178ea0f7b111da2a7007afb619b07383b7a320c (patch)
tree0aba4cc7458dda8cdce772d7b21d1cf52c5f0b78 /infra/bots
parent2755488a537ea685a892e0ba2e13ba097a2f9168 (diff)
[infra] Make the Android_Framework bot run on demand
This causes it to never get triggered automatically, so it will only run as a try job or when force-triggered. Caveat: if the job is defined on non-master branches, it will still trigger for those branches. Bug: skia: Change-Id: Idff63bd22536b21ec21eb4b569cc392642297d7b Reviewed-on: https://skia-review.googlesource.com/123923 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots')
-rw-r--r--infra/bots/gen_tasks.go2
-rw-r--r--infra/bots/tasks.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 67e551a841..834e0b3d79 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -1232,7 +1232,7 @@ func process(b *specs.TasksCfgBuilder, name string) {
j.Trigger = specs.TRIGGER_WEEKLY
} else if strings.Contains(name, "Flutter") || strings.Contains(name, "PDFium") || strings.Contains(name, "CommandBuffer") {
j.Trigger = specs.TRIGGER_MASTER_ONLY
- } else if strings.Contains(name, "-OnDemand-") {
+ } else if strings.Contains(name, "-OnDemand-") || strings.Contains(name, "Android_Framework") {
j.Trigger = specs.TRIGGER_ON_DEMAND
}
b.MustAddJob(name, j)
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 9732840b4d..885956f2b9 100644
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -94,7 +94,8 @@
"priority": 0.8,
"tasks": [
"Build-Debian9-Clang-gce_x86_phone-eng-Android_Framework"
- ]
+ ],
+ "trigger": "on demand"
},
"Build-Debian9-Clang-x64-Debug-Android": {
"priority": 0.8,