summaryrefslogtreecommitdiffstats
path: root/templates/build.html
blob: 916acf3b636d42004b6c065b9cf375d909fb451f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base.html" %}
{% block content %}
<h1>Build {{ id_short }}</h1>
<p class="mut">{{ pkgbase }} {{ version }} · {{ kind }} · <b>{{ state }}</b>
{% if error != "" %} · <span class="risk-high">{{ error }}</span>{% endif %}</p>
{% if !blocked_on.is_empty() %}<div class="card">Blocked on:
{% for d in blocked_on %}<span class="tag">{{ d }}</span> {% endfor %}</div>{% endif %}
<table>
<tr><th>step</th><th>status</th><th>attempt</th><th>output</th><th>error</th></tr>
{% for s in steps %}<tr><td>{{ s.step }}</td>
<td class="{{ s.cls }}">{{ s.status }}</td>
<td>{{ s.attempt }}</td><td class="mut">{{ s.digest }}</td>
<td class="risk-high">{{ s.error }}</td></tr>{% endfor %}</table>
<h2>Log</h2>
{% if log_truncated %}<p class="mut">(last {{ log_lines }} lines — <a href="/builds/{{ id }}/log.txt">full log</a>){% else %}<p class="mut">(<a href="/builds/{{ id }}/log.txt">full log</a>){% endif %}
 · <a href="/builds/{{ id }}/log.stream">live stream</a> — server-sent events, one event per log line, ends when the build does.</p>
<pre id="log">{{ log }}</pre>
{% endblock %}