Skip to content

Commit

Permalink
Fix artefact versions for images
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Jan 14, 2025
1 parent 445e889 commit d5dcc08
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/test_observer/controllers/artefacts/artefacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,7 @@ def get_artefact_versions(
.where(Artefact.track == artefact.track)
.where(Artefact.series == artefact.series)
.where(Artefact.repo == artefact.repo)
.where(Artefact.os == artefact.os)
.where(Artefact.series == artefact.series)
.order_by(Artefact.id.desc())
)
2 changes: 2 additions & 0 deletions backend/test_observer/controllers/reports/test_executions.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
Artefact.track,
Artefact.series,
Artefact.repo,
Artefact.os,
Artefact.series,
TestExecution.id,
TestExecution.status,
TestExecution.ci_link,
Expand Down
2 changes: 2 additions & 0 deletions backend/test_observer/controllers/reports/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
Artefact.track,
Artefact.series,
Artefact.repo,
Artefact.os,
Artefact.series,
Artefact.created_at,
TestExecution.id,
TestExecution.status,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def _expected_report_row(
artefact.track,
artefact.series,
artefact.repo,
artefact.os,
artefact.series,
str(test_execution.id),
test_execution.status.name,
"" if not test_execution.ci_link else test_execution.ci_link,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def _expected_report_row(test_result: TestResult) -> list:
artefact.track,
artefact.series,
artefact.repo,
artefact.os,
artefact.series,
str(artefact.created_at),
str(test_execution.id),
test_execution.status.name,
Expand Down

0 comments on commit d5dcc08

Please sign in to comment.