aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci/manager.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-08-04 17:02:49 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-08-04 16:03:43 +0000
commit4ffcc9efeba621d9391f2beb81ab904c2f97cefa (patch)
tree42cea5835643a9e2745856cc08e40cfd332a865e /syz-ci/manager.go
parent635a5acfb7298dc171e913960b31157947faa91d (diff)
syz-ci: accept the global per-syz-ci backport list
Now that we also support checking whether the guilty commit is present, we can afford to share the custom backport list among all syz-ci managers in a number of cases.
Diffstat (limited to 'syz-ci/manager.go')
-rw-r--r--syz-ci/manager.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 13f8768e1..306081ad6 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -686,6 +686,13 @@ func (mgr *Manager) pollCommits(buildCommit string) ([]string, []dashapi.Commit,
return present, fixCommits, nil
}
+func (mgr *Manager) backportCommits() []vcs.BackportCommit {
+ return append(
+ append([]vcs.BackportCommit{}, mgr.cfg.BisectBackports...),
+ mgr.mgrcfg.BisectBackports...,
+ )
+}
+
func (mgr *Manager) uploadBuildAssets(buildInfo *dashapi.Build, assetFolder string) ([]dashapi.NewAsset, error) {
if mgr.storage == nil {
// No reason to continue anyway.