archery/views/build.ejs
Cory Sanin b13d34cbdb
All checks were successful
App Image CI / Build app image (push) Successful in -2m7s
Docker Image CI / Build build images (arch) (push) Successful in -34s
Docker Image CI / Build build images (artix) (push) Successful in -1m2s
move to gitea
2025-04-29 21:04:32 -05:00

44 lines
1.8 KiB
Plaintext

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<%- include("head", locals) %>
</head>
<body class="preload">
<%- include("navigation", locals) %>
<div class="content">
<h1>Build #<%= build.id %></h1>
<h2 id="buildStatus"><%= build.status %></h2>
<div class="overflow-x">
<div class="grid-2col">
<label>Repo</label> <span><%= build.repo %></span>
<label>Commit</label> <span><% if (build.commit) { %><%= build.commit %><% } else { %>latest<% } %></span>
<label>Patch</label> <span><% if (build.patch) { %><a href="/build/<%= build.id %>/patch">patch file</a><% } else { %>none<% } %></span>
<label>Distro</label> <span><%= build.distro %></span>
<label>Dependencies</label> <span><%= build.dependencies %></span>
<label>Start time</label> <span class="to-local-time"><%= build.startTime %></span>
</div>
</div>
<% if (!ended) { %>
<div>
<a href="/build/<%= build.id %>/cancel" class="button">Cancel build</a>
</div>
<% } %>
<p><a href="/build/<%= build.id %>/logs">Full logs</a></p>
<pre class="overflow-x"><div class="logs" id="logs"><% (log || []).forEach(line => { %><p><%= line %></p><% }) %></div></pre>
<% if (!ended) { %>
<label id="followCheckmarkContainer" title="Follow logs">
<input type="checkbox" id="followCheckmark" />
</label>
<% } %>
</div>
<%- include("footer", locals) %>
<script src="/assets/js/timezone.js?v1" nonce="<%= cspNonce %>"></script>
<% if (!ended) { %>
<script src="/assets/js/build.js?v2" nonce="<%= cspNonce %>"></script>
<% } %>
</body>
</html>