summaryrefslogtreecommitdiff
path: root/lkft/templates/lkft-describe.html
blob: f55c4e1a563101b16d76f18c8807281969d9948c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{% extends '_layouts/base.html' %}

{% block title %} {{kernel_change.describe}} {% endblock %}

{% block headline %}<h1>{{kernel_change.describe}} -- {{kernel_change.status}}</a></h1>{% endblock %}

{% block content %}
<div>
<h1>Trigger Build</h1>
<table border="1">
    <tr>
        <th>Name</th>
        <th>Number</th>
        <th>Status</th>
        <th>StartedAt</th>
        <th>Duration</th>
</tr>
<tr>
    <td><a href="https://ci.linaro.org/job/{{trigger_build.name}}/">{{trigger_build.name}}</a></td>
    <td align='right'><a href="https://ci.linaro.org/job/{{trigger_build.name}}/{{trigger_build.number}}/">{{trigger_build.number}}</a></td>
    <td>{{trigger_build.result}}</td>
    <td><p>Started at {{ trigger_build.timestamp|date:'M. d, Y, H:i'}}, <br/>{{ trigger_build.timestamp|timesince}} ago</p></td>
    <td align='right'>{{trigger_build.duration}}</td>
</tr>
</table>
</div>

<div>
<h1>CI Builds</h1>
<table border="1">
    <tr>
        <th>Index</th>
        <th>Name</th>
        <th>Number</th>
        <th>Status</th>
        <th>QueuedTime</th>
        <th>StartedAt</th>
        <th>Duration</th>
</tr>
{% for cibuild in ci_builds %}
<tr>
    <td>{{ forloop.counter }}</td>
    <td><a href="https://ci.linaro.org/job/{{cibuild.name}}/">{{cibuild.name}}</a></td>
    <td align='right'><a href="https://ci.linaro.org/job/{{cibuild.name}}/{{cibuild.number}}/">{{cibuild.number}}</a></td>
    <td>{{cibuild.result}}</td>
    <td align='right'>{{cibuild.queued_duration}}</td>
    <td><p>Started at {{ cibuild.timestamp|date:'M. d, Y, H:i'}}, <br/>{{ cibuild.timestamp|timesince}} ago</p></td>
    <td align='right'>{{cibuild.duration}}</td>
</tr>
{% endfor %}
</table>
</div>

<div>
<h1>Test Results</h1>
<table border="1">
    <tr>
        <th>Index</th>
        <th>Group</th>
        <th>Name</th>
        <th>StartedAt</th>
        <th>Duration</th>
        <th>Pass</th>
        <th>Fail</th>
        <th>Total</th>
        <th>Modules Done</th>
        <th>Modules Total</th>
</tr>
{% for report_build in report_builds %}
<tr>
    <td>{{ forloop.counter }}</td>
    <td><a href="https://qa-reports.linaro.org/{{report_build.group}}/">{{report_build.group}}</a></td>
    <td><a href="https://qa-reports.linaro.org/{{report_build.group}}/{{report_build.name}}/">{{report_build.name}}</a></td>
    <td><p>Started at {{ report_build.started_at|date:'M. d, Y, H:i'}},<br/>{{ report_build.started_at|timesince}} ago</p></td>
    <td align='right'>{{report_build.duration}}</td>
    <td align='right'>{{report_build.number_passed}}</td>
    <td align='right'>{{report_build.number_failed}}</td>
    <td align='right'>{{report_build.number_total}}</td>
    <td align='right'>{{report_build.modules_done}}</td>
    <td align='right'>{{report_build.modules_total}}</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}