[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>
This commit is contained in:
Eric Boren 2018-04-26 08:58:26 -04:00 committed by Skia Commit-Bot
parent 2755488a53
commit 1178ea0f7b
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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,