Skip to content

Commit

Permalink
templates: Break out build/test summaries
Browse files Browse the repository at this point in the history
Signed-off-by: Abdulwasiu Apalowo <[email protected]>
  • Loading branch information
mrbazzan committed Jul 19, 2022
1 parent 4d7f993 commit 707e538
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions kcidb/templates/build_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ OVERVIEW

Build: {{ misc_macros.valid_badge(build.valid) }}
{% if build.tests %}
Tests: {{ test_macros.waived_status_badge(build.tests_root.waived,
build.tests_root.status) }}
Tests: {{ test_macros.test_status(build.tests_root.waived_status_nodes) }}
{% endif %}

BUILD
Expand Down
5 changes: 2 additions & 3 deletions kcidb/templates/checkout_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ OVERVIEW

Checkout: {{ misc_macros.valid_badge(checkout.valid) }}
{% if checkout.builds %}
Builds: {{ misc_macros.valid_badge(checkout.builds_valid) }}
Builds: {{ build_macros.build_status(checkout.builds) }}
{% endif %}
{% if checkout.tests %}
Tests: {{ test_macros.waived_status_badge(checkout.tests_root.waived,
checkout.tests_root.status) }}
Tests: {{ test_macros.test_status(checkout.tests_root.waived_status_nodes) }}
{% endif %}

CHECKOUT
Expand Down
5 changes: 2 additions & 3 deletions kcidb/templates/revision_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ OVERVIEW
Patches: {{ misc_macros.valid_badge(revision.checkouts_valid) }}
{% endif %}
{% if revision.builds %}
Builds: {{ misc_macros.valid_badge(revision.builds_valid) }}
Builds: {{ build_macros.build_status(revision.builds) }}
{% endif %}
{% if revision.tests %}
Tests: {{ test_macros.waived_status_badge(revision.tests_root.waived,
revision.tests_root.status) }}
Tests: {{ test_macros.test_status(revision.tests_root.waived_status_nodes) }}
{% endif %}

REVISION
Expand Down

0 comments on commit 707e538

Please sign in to comment.