Status page: Show running builds rather than build steps
[?]
Sep 25, 2014, 6:17 PM
MQQ5KZV37LHW6FHJFVND72EH3N5QF64GV6JECJELLWLOZX6XDKZACDependencies
- [2]
IIDX526D - [3]
J4R2VCPPFix showing build steps in the machine status page - [4]
VG4QG336Remove tablesorter - [5]
DCKPWXNZAdd in missing needed join - [6]
PZL3SZM3Give every page a consistent title - [7]
LZVO64YGMerge in the first bits of the API work - [8]
EFWN7JBV* Added a status page that shows all the currently executing build steps. - [9]
ELABMHJI* hydra: layout changes - [10]
R2PON6R7Allow non-admin users to see the machine status page - [11]
JARRBLZDBootstrapify the Hydra forms (except the project and jobset edit pages) - [12]
JZVRK5QJGroup some menu items together under a "Status" menu - [13]
NRSKJPP4makeLink -> menuItem - [14]
BOAFFKUXActive build steps: Make the rows clickable - [15]
TP3PFR5K - [16]
WRIU3S5E* UI for cloning builds (not functional yet). - [17]
SHIENRALClean up root controller - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
QL55ECJ6- adapted ui for hydra, more in line with nixos.org website
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 102[6.22362]→[6.22362:22493](∅→∅),[6.22493]→[5.0:63](∅→∅),[5.63]→[6.23079:23091](∅→∅),[6.193]→[6.23079:23091](∅→∅),[6.23079]→[6.23079:23091](∅→∅)
entity => [ $c->model('DB::BuildSteps')->search({ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },{ order_by => [ 'machine' ], join => [ 'build' ] }) ]entity => [$c->model('DB::Builds')->search({finished => 0, busy => 1}, { order_by => ["priority DESC", "id"]})] - replacement in src/root/queue.tt at line 4
[% IF queue.size == 0 %][% IF resource.size == 0 %] - replacement in src/root/queue.tt at line 6
<p>The queue is empty.</p><div class="alert alert-info">There are no pending builds.</div> - replacement in src/root/status.tt at line 1
[% WRAPPER layout.tt title="Active build steps" %][% WRAPPER layout.tt title="Running builds" %] - edit in src/root/status.tt at line 3
[% IF resource.size == 0 %]<div class="alert alert-info">There are no running builds.</div>[% ELSE %] - replacement in src/root/status.tt at line 10[6.1222]→[4.916:983](∅→∅),[6.79]→[6.4514:4654](∅→∅),[4.983]→[6.4514:4654](∅→∅),[6.4514]→[6.4514:4654](∅→∅),[6.4654]→[6.35621:35656](∅→∅),[6.35656]→[6.4686:5085](∅→∅),[6.4686]→[6.4686:5085](∅→∅),[6.5085]→[6.80:221](∅→∅),[6.221]→[6.5209:5271](∅→∅),[6.5209]→[6.5209:5271](∅→∅),[6.5271]→[3.665:768](∅→∅),[3.768]→[6.5368:5414](∅→∅),[6.5368]→[6.5368:5414](∅→∅)
<table class="table table-striped table-condensed clickable-rows"><thead><tr><th>Machine</th><th>Job</th><th>Type</th><th>Build</th><th>Step</th><th>What</th><th>Since</th></tr></thead><tbody>[% FOREACH step IN resource %]<tr><td><tt>[% IF step.machine; step.machine.match('@(.*)').0; ELSE; 'localhost'; END %]</tt></td><td><tt>[% INCLUDE renderFullJobName project = step.build.project.name jobset = step.build.jobset.name job = step.build.job.name %]</tt></td><td><tt>[% step.system %]</tt></td><td><a href="[% c.uri_for('/build' step.build.id) %]">[% step.build.id %]</a></td><td><a class="row-link" href="[% c.uri_for('/build' step.build.id 'nixlog' step.stepnr 'tail-reload') %]">[% step.stepnr %]</a></td><td><tt>[% step.drvpath.match('-(.*)').0 %]</tt></td><td style="width: 10em">[% INCLUDE renderDuration duration = curTime - step.starttime %] </td></tr>[% END %]</tbody></table>[% INCLUDE renderBuildList builds=resource showSchedulingInfo=1 hideResultInfo=1 %][% END %] - replacement in src/root/topbar.tt at line 24
title = "Active build steps" %]title = "Running builds" %]