Zack Williams | 712caf6 | 2020-04-28 13:37:41 -0700 | [diff] [blame] | 1 | {# |
| 2 | SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 3 | SPDX-License-Identifier: Apache-2.0 |
| 4 | #} |
| 5 | {% extends "base.html" %} |
| 6 | {% block title %}ONF Continuous Certification - {{ project_name }}{% endblock %} |
| 7 | {% block header %}ONF Continuous Certification - {{ project_name }}{% endblock %} |
| 8 | {% block content %} |
| 9 | |
| 10 | <h2>Test Results</h2> |
| 11 | |
| 12 | {% for product in products | sort(attribute="product_name")%} |
| 13 | <strong><a href="{{ product.product_name | replace(" ", "_") }}">{{ product.product_name }}</a></strong> |
| 14 | {% set groups = product['groups'] %} |
| 15 | |
| 16 | <div class="ccresults"> |
| 17 | {% for group_name, jobs in groups.items() %} |
| 18 | <strong>Version: {{ group_name }}</strong><br/> |
| 19 | {% for job_name, builds in jobs.items() %} |
| 20 | <em>Job: {{ job_name }}</em><br/> |
| 21 | |
| 22 | {% set timebox = builds | timebox(24,10) %} |
| 23 | <ul> |
| 24 | {% for tb in timebox %} |
| 25 | <li class="{{ tb.result }}"> |
| 26 | {{ tb.box_start | tsdate }} - {{ tb.outcome }}<br/> |
| 27 | {% for build in tb.builds %} |
| 28 | {% if "build_url" in build %} |
| 29 | <a href="{{ build.build_url }}" class="{{ build.result }}">{{ build.id }}</a> |
| 30 | {% else %} |
| 31 | <span class="{{ build.result }}">{{ build.id }}</span> |
| 32 | {% endif %} |
| 33 | {% else %} |
| 34 | No Builds |
| 35 | {% endfor %} |
| 36 | </li> |
| 37 | {% endfor %} |
| 38 | </ul> |
| 39 | {% endfor %} |
| 40 | {% else %} |
| 41 | No Tests Currently Available |
| 42 | {% endfor %} |
| 43 | </div> |
| 44 | <br/> |
| 45 | {% endfor %} |
| 46 | {% endblock %} |