Skip to content

Commit 8e04ba5

Browse files
committed
fix(hardware): list boards in time window and load test origins from hardware_status
* Non longer limiting hardware listing to latest checkout. * Hardcoded TEST_ORIGINS also omitted origins from the Hardware dropdown. * Expand hardcoded test origins list. Closes #1983 Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
1 parent 50b656f commit 8e04ba5

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

backend/kernelCI_app/queries/hardware.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -370,16 +370,10 @@ def get_hardware_listing_data_from_status_table(
370370
SUM(test_inc) AS test_null
371371
FROM
372372
hardware_status
373-
INNER JOIN
374-
latest_checkout
375-
ON
376-
hardware_status.checkout_id = latest_checkout.checkout_id
377-
AND
378-
latest_checkout.start_time >= %(start_date)s
379-
AND
380-
latest_checkout.start_time <= %(end_date)s
381373
WHERE
382374
hardware_status.test_origin = %(origin)s
375+
AND hardware_status.start_time >= %(start_date)s
376+
AND hardware_status.start_time <= %(end_date)s
383377
GROUP BY
384378
platform,
385379
compatibles

backend/kernelCI_app/views/originsView.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
"arm",
2323
"broonie",
2424
"linaro",
25+
"linaro_pull_labs",
2526
"maestro",
2627
"microsoft",
28+
"pullab_cloud_aws_arm64",
29+
"pull_labs_aws_ec2",
2730
"redhat",
2831
"riscv",
2932
"syzbot",

0 commit comments

Comments
 (0)