From 0d63f89cabcbc3e57201973370a309b646cc43c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Nov 2019 16:40:04 +0100 Subject: 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. --- dashboard/dashapi/dashapi.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dashboard/dashapi') 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 { -- cgit mrf-deployment