aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-27 16:40:04 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-27 16:40:04 +0100
commit0d63f89cabcbc3e57201973370a309b646cc43c9 (patch)
tree3eb549e19dc354cf37fa9c735ea2f7cf3b901a5b /dashboard/dashapi
parent4cea005389a2c907bf947f6f2b79ef2bc9e42ce1 (diff)
syz-ci: allow enabling bisect cause and fix jobs separately
Some backport-only kernels may only be interested in fix bisections. Allow enabling these separately.
Diffstat (limited to 'dashboard/dashapi')
-rw-r--r--dashboard/dashapi/dashapi.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 833dd099f..8b93f0ae2 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -122,8 +122,13 @@ func (dash *Dashboard) BuilderPoll(manager string) (*BuilderPollResp, error) {
// ID must match JobPollResp.ID.
type JobPollReq struct {
- PatchTestManagers []string
- BisectManagers []string
+ Managers map[string]ManagerJobs
+}
+
+type ManagerJobs struct {
+ TestPatches bool
+ BisectCause bool
+ BisectFix bool
}
type JobPollResp struct {