Some bots should only run on the master branch
Bug: skia:6556 Change-Id: Iebe8b30de70685f56b795521ccc2242b0682000b Reviewed-on: https://skia-review.googlesource.com/28660 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Eric Boren <borenet@google.com>
This commit is contained in:
parent
579985ce4f
commit
ba937a4366
@ -947,18 +947,14 @@ func process(b *specs.TasksCfgBuilder, name string) {
|
|||||||
j := &specs.JobSpec{
|
j := &specs.JobSpec{
|
||||||
Priority: 0.8,
|
Priority: 0.8,
|
||||||
TaskSpecs: deps,
|
TaskSpecs: deps,
|
||||||
|
Trigger: specs.TRIGGER_ANY_BRANCH,
|
||||||
}
|
}
|
||||||
if name == "Housekeeper-Nightly-RecreateSKPs_Canary" {
|
if strings.Contains(name, "-Nightly-") {
|
||||||
j.Trigger = "nightly"
|
j.Trigger = specs.TRIGGER_NIGHTLY
|
||||||
}
|
} else if strings.Contains(name, "-Weekly-") || name == "Test-Ubuntu14-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_1m_SKPs" {
|
||||||
if name == "Housekeeper-Nightly-UpdateMetaConfig" {
|
j.Trigger = specs.TRIGGER_WEEKLY
|
||||||
j.Trigger = "nightly"
|
} else if strings.Contains(name, "Flutter") || strings.Contains(name, "PDFium") || strings.Contains(name, "CommandBuffer") {
|
||||||
}
|
j.Trigger = specs.TRIGGER_MASTER_ONLY
|
||||||
if name == "Housekeeper-Weekly-RecreateSKPs" {
|
|
||||||
j.Trigger = "weekly"
|
|
||||||
}
|
|
||||||
if name == "Test-Ubuntu14-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_1m_SKPs" {
|
|
||||||
j.Trigger = "weekly"
|
|
||||||
}
|
}
|
||||||
b.MustAddJob(name, j)
|
b.MustAddJob(name, j)
|
||||||
}
|
}
|
||||||
|
@ -250,7 +250,8 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Build-Debian9-GCC-x86_64-Release-Flutter_Android"
|
"Build-Debian9-GCC-x86_64-Release-Flutter_Android"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Build-Debian9-GCC-x86_64-Release-Mesa": {
|
"Build-Debian9-GCC-x86_64-Release-Mesa": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
@ -268,13 +269,15 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Build-Debian9-GCC-x86_64-Release-PDFium"
|
"Build-Debian9-GCC-x86_64-Release-PDFium"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths": {
|
"Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
|
"Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Build-Debian9-GCC-x86_64-Release-SKNX_NO_SIMD": {
|
"Build-Debian9-GCC-x86_64-Release-SKNX_NO_SIMD": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
@ -334,7 +337,8 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Build-Mac-Clang-x86_64-Debug-CommandBuffer"
|
"Build-Mac-Clang-x86_64-Debug-CommandBuffer"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Build-Mac-Clang-x86_64-Debug-Metal": {
|
"Build-Mac-Clang-x86_64-Debug-Metal": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
@ -352,7 +356,8 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Build-Mac-Clang-x86_64-Release-CommandBuffer"
|
"Build-Mac-Clang-x86_64-Release-CommandBuffer"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Build-Win-Clang-arm64-Release-Android": {
|
"Build-Win-Clang-arm64-Release-Android": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
@ -949,7 +954,8 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Upload-Perf-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Release-CommandBuffer"
|
"Upload-Perf-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Release-CommandBuffer"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-CT_BENCH_1k_SKPs": {
|
"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-CT_BENCH_1k_SKPs": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
@ -1819,7 +1825,8 @@
|
|||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
"tasks": [
|
"tasks": [
|
||||||
"Upload-Test-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Debug-CommandBuffer"
|
"Upload-Test-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Debug-CommandBuffer"
|
||||||
]
|
],
|
||||||
|
"trigger": "master"
|
||||||
},
|
},
|
||||||
"Test-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Release": {
|
"Test-Mac-Clang-MacMini6.2-GPU-IntelHD4000-x86_64-Release": {
|
||||||
"priority": 0.8,
|
"priority": 0.8,
|
||||||
|
Loading…
Reference in New Issue
Block a user