[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:
parent
2755488a53
commit
1178ea0f7b
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user