Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fluster test report link #577

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions kcidb/templates/fluster_revision_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,31 @@ REVISION
{% if revision.git_commit_hash %}
{{- " hash: " + revision.git_commit_hash }}
{% endif %}
Checked out from
Checked out from
{% for repo, branch_checkouts
in revision.repo_branch_checkouts.items() %}
{{- " " +
(([repo] + (branch_checkouts | list)) |
reject("none") | join(" ")) }}
{% endfor %}

{% set ns = namespace(branch=none, tree=none) %}
{% for checkout in revision.checkouts %}
{% if checkout.tree_name is not none and checkout.git_repository_branch is not none and
ns.branch is none %}
{% set ns.branch = checkout.git_repository_branch %}
{% set ns.tree = checkout.tree_name %}
{% endif %}
{% endfor %}
{# #}
{{- test_macros.container_summary(revision, max_list_len) -}}
{# #}

See complete and up-to-date report at:

https://fresh2-kcidb-grafana-m6io3uhhiq-uc.a.run.app/d/bdviluqy6gv7kc/codecs?orgId=1&var-platform=All&var-datasource=default&var-git_commit_hash={{revision.git_commit_hash | urlencode }}
{% if ns.tree is not none %}
https://fresh2-kcidb-grafana-m6io3uhhiq-uc.a.run.app/d/bdviluqy6gv7kc/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}}
{% else %}
https://fresh2-kcidb-grafana-m6io3uhhiq-uc.a.run.app/d/bdviluqy6gv7kc/codecs?orgId=1&var-platform=All&var-datasource=default&var-git_commit_hash={{revision.git_commit_hash | urlencode }}
{% endif %}


Tested-by: kernelci.org bot <bot@kernelci.org>
Expand Down