* Perform builds in parallel.
[?]
Nov 11, 2008, 10:27 AM
TULPZ62YXEHXUWGBZMLCLYILEXPQS5ADPT22574BIRFU4CZMBSKACDependencies
- [2]
7YBYT2LQ - [3]
BVOPAMLS - [4]
X27GNHDV* Basic job info in the database. - [5]
ELCI5T2A* Show the latest build for each job. - [6]
M552HLIA* Support variant builds. - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- replacement in src/HydraFrontend/root/index.tt at line 8
<tr><th>Priority</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr><tr><th>#</th><th>Priority</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr> - edit in src/HydraFrontend/root/index.tt at line 13
<td>[% job.id %]</td> - edit in src/build.pl at line 9
$db->storage->dbh->do("PRAGMA synchronous = OFF;"); - edit in src/build.pl at line 129
- edit in src/build.pl at line 131
print "STOP ", time, "\n"; - edit in src/runner.pl at line 4
use POSIX qw(dup2); - edit in src/runner.pl at line 9
$db->storage->dbh->do("PRAGMA synchronous = OFF;"); - edit in src/runner.pl at line 26
- edit in src/runner.pl at line 27
while (1) { - edit in src/runner.pl at line 28
sub checkJobs { - replacement in src/runner.pl at line 51
print "starting job ", $job->id, "\n";my $id = $job->id;print "starting job $id\n"; - replacement in src/runner.pl at line 54
system("perl -I HydraFrontend/lib -w ./build.pl " . $job->id);my $child = fork();die unless defined $child;if ($child == 0) {open LOG, ">logs/$id" or die;POSIX::dup2(fileno(LOG), 1) or die;POSIX::dup2(fileno(LOG), 2) or die;exec("perl", "-IHydraFrontend/lib", "-w","./build.pl", $id);warn "cannot start job " . $id;_exit(1);} - edit in src/runner.pl at line 75
} - edit in src/runner.pl at line 78
while (1) {eval {checkJobs;};warn $@ if $@; - edit in src/scheduler.pl at line 9[3.5761][9.1424]
$db->storage->dbh->do("PRAGMA synchronous = OFF;"); - replacement in src/scheduler.pl at line 255
checkJobs;[3.10184]while (1) {checkJobs;print "sleeping...\n";sleep 10;}