Skip to content

Commit

Permalink
fluster report: specify data source in the report link
Browse files Browse the repository at this point in the history
`var-datasource=default` in the fluster test summary link
leads to `playground` rather than `production` on the
dashboard. Specify the exact data source instead of
relying on the default value.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia committed Nov 11, 2024
1 parent 2d4c9a0 commit 195fe3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kcidb/templates/fluster_revision_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ REVISION

See complete and up-to-date report at:
{% if ns.tree is not none %}
https://grafana.kernelci.org/d/codecs/codecs?orgId=1&var-platform=All&var-datasource=default&var-git_commit_hash={{revision.git_commit_hash | urlencode }}&var-tree={{ns.tree}}&var-branch={{ns.branch}}
https://grafana.kernelci.org/d/codecs/codecs?orgId=1&var-platform=All&var-datasource=production&var-git_commit_hash={{revision.git_commit_hash | urlencode }}&var-tree={{ns.tree}}&var-branch={{ns.branch}}
{% else %}
https://grafana.kernelci.org/d/codecs/codecs?orgId=1&var-platform=All&var-datasource=default&var-git_commit_hash={{revision.git_commit_hash | urlencode }}
https://grafana.kernelci.org/d/codecs/codecs?orgId=1&var-platform=All&var-datasource=production&var-git_commit_hash={{revision.git_commit_hash | urlencode }}
{% endif %}


Expand Down

0 comments on commit 195fe3b

Please sign in to comment.