Skip to content

Commit

Permalink
improvement(reporting): Add argus links to email template and elastic
Browse files Browse the repository at this point in the history
This commit adds links to argus to the elastic search index and email
templates, allowing users to find argus runs quickly from those places.

Fixes scylladb/qa-tasks#1490
  • Loading branch information
k0machi authored and soyacz committed Oct 10, 2024
1 parent 3b9b60e commit 8175f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdcm/report_templates/results_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ <h3>Test details</h3>
{% endif %}
{% if test_id %}
<li>Test-id: {{ test_id }}</li>
<li><a href="https://argus.scylladb.com/tests/scylla-cluster-tests/{{ test_id }}">Link to argus</a></li>
{% endif %}
{% if start_time %}
<li>Start time: {{ start_time }}</li>
Expand Down
1 change: 1 addition & 0 deletions sdcm/reporting/elastic_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def report_run(self, run_id: str, status: str, index=None) -> bool:
"status": status,
"build_id": job_name,
"build_url": build_url,
"argus_url": f"https://argus.scylladb.com/tests/scylla-cluster-tests/{run_id}",
"build_number": build_number,
}

Expand Down

0 comments on commit 8175f82

Please sign in to comment.