Run CreateDockerImage bots only on main branch

Change-Id: I82f432a7b072c52623bebea12486f54ff751807a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/423076
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2021-06-29 14:36:26 -04:00 committed by Skia Commit-Bot
parent 581c336b73
commit c3ded43e92
2 changed files with 5 additions and 3 deletions

View File

@ -230,7 +230,7 @@ func (b *jobBuilder) finish() {
b.trigger(specs.TRIGGER_NIGHTLY)
} else if b.frequency("Weekly") {
b.trigger(specs.TRIGGER_WEEKLY)
} else if b.extraConfig("Flutter", "CommandBuffer") {
} else if b.extraConfig("Flutter", "CommandBuffer", "CreateDockerImage") {
b.trigger(specs.TRIGGER_MAIN_ONLY)
} else if b.frequency("OnDemand") || b.role("Canary") {
b.trigger(specs.TRIGGER_ON_DEMAND)

View File

@ -840,12 +840,14 @@
"Housekeeper-PerCommit-CreateDockerImage_Skia_Release": {
"tasks": [
"Housekeeper-PerCommit-CreateDockerImage_Skia_Release"
]
],
"trigger": "main"
},
"Housekeeper-PerCommit-CreateDockerImage_Skia_WASM_Release": {
"tasks": [
"Housekeeper-PerCommit-CreateDockerImage_Skia_WASM_Release"
]
],
"trigger": "main"
},
"Housekeeper-PerCommit-InfraTests_Linux": {
"tasks": [