mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-21 12:01:00 +00:00
dashboard/app: select only normal builds during reporting
Don't select job builds during reporting, they contain random git repositories.
This commit is contained in:
parent
9f8b1dde96
commit
bd660019ee
@ -276,6 +276,7 @@ func lastManagerBuild(c context.Context, ns, manager string) (*Build, error) {
|
||||
_, err := datastore.NewQuery("Build").
|
||||
Filter("Namespace=", ns).
|
||||
Filter("Manager=", manager).
|
||||
Filter("Type=", BuildNormal).
|
||||
Order("-Time").
|
||||
Limit(1).
|
||||
GetAll(c, &builds)
|
||||
|
@ -31,6 +31,7 @@ indexes:
|
||||
properties:
|
||||
- name: Namespace
|
||||
- name: Manager
|
||||
- name: Type
|
||||
- name: Time
|
||||
direction: desc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user