Show finished builds on the fixed output package derivations page
Rather than scheduled builds as well, as that's not useful information.
This commit is contained in:
parent
060df92557
commit
f868591d1c
1 changed files with 3 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ SELECT DISTINCT ON (derivations.file_name)
|
||||||
derivations.file_name,
|
derivations.file_name,
|
||||||
(
|
(
|
||||||
CASE
|
CASE
|
||||||
WHEN builds.id IS NULL THEN NULL
|
WHEN latest_build_status.status IS NULL THEN NULL
|
||||||
ELSE
|
ELSE
|
||||||
json_build_object(
|
json_build_object(
|
||||||
'build_server_id', builds.build_server_id,
|
'build_server_id', builds.build_server_id,
|
||||||
|
|
@ -627,6 +627,8 @@ LEFT JOIN builds
|
||||||
ON derivations.file_name = builds.derivation_file_name
|
ON derivations.file_name = builds.derivation_file_name
|
||||||
LEFT JOIN latest_build_status
|
LEFT JOIN latest_build_status
|
||||||
ON builds.id = latest_build_status.build_id
|
ON builds.id = latest_build_status.build_id
|
||||||
|
-- These are the two interesting states, so ignore builds in any other states
|
||||||
|
AND latest_build_status.status IN ('succeeded', 'failed')
|
||||||
WHERE derivation_output_details.hash IS NOT NULL"
|
WHERE derivation_output_details.hash IS NOT NULL"
|
||||||
(if after-derivation-file-name
|
(if after-derivation-file-name
|
||||||
"
|
"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue