hydra-evaluator: Don't require $HYDRA_CONFIG
[?]
Jan 22, 2013, 12:19 PM
WQXF2T3DFC2K72OVX46TUQ4IMZNJ5BSBQ7L7AVI7QL54DXCBEKLQCDependencies
- [2]
7ZYBTNJJrevert unmeant previous change which caused errors to stay, even after successful evaluation of jobs - [3]
AJKTRRDJrename var - [4]
A32UT34Uhydra_build.pl: Honor `$build->timeout'. - [5]
TJK27WSBOpen the DB using Hydra::Model::DB->new - [6]
G2T4WAHIStore the inputs of each evaluation in the database - [7]
57Y7RG2AUpdate queryPathInfo calls - [8]
4R7OGJEYDo not send emails when build is cancelled/aborted. Also, ignore aborted/cancelled builds in comparing to previous build. - [9]
QMW24O5SAdd support for Guile & Guix. - [10]
NI5BVF2V* In job inputs of type "build", allow the project and jobset names of - [11]
6KCP6ODP* Get the URI for use in notification mails from the Hydra config - [12]
XZ7ZIKCV* Allow overriding the sender email address. - [13]
3XTHEUMP* Implemented the clone feature. - [14]
VPKMUFF3hydra-build: only send email if the status differs from the previous build - [15]
DDMYFZ5XFix the jobset unchanged check - [16]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [17]
AFTXA575* $HYDRA_DATA environment variable. - [18]
GAIBDEZZ* Store the name of the machine that performed a build step in the - [19]
ZDENAYQI* email notification of evaluation errors to project owner (if desired) - [20]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [21]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [22]
NLJJZVHO* Use ->update({...}) properly. - [23]
SHZLOM5M* eval-jobs -> hydra_eval_jobs. - [24]
RXVJFQ5AEvaluator cleanups - [25]
4IXVBLUIhack to try and prevent too many newlines - [26]
ZTQEU5QSHydra: Add support for maxSilent meta attribute (also already added timeout, but not implemented the actual timeout for the build yet) - [27]
P5XCKTFDFix sysbuild input type handling - [28]
VJP6O6WA* Doh. Remove debug statement. - [29]
2IEFMER5* Add --fallback to prevent problems with obsolete substitutes. - [30]
D3DIBMOK* For products that are directories (like manuals), allow a default - [31]
UMOJJ6DVtime out to 3600 for now - [32]
FYO6NECEhydra - [33]
D7NXMCON* Doh. - [34]
RBGYFVWXuse HYDRA_DATA/hydra.conf as default location for hydra.conf - [35]
7ZHHVD6Q* Inputs of type "build" must now be declared explicitly. - [36]
YFPZ46YK* hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job. - [37]
W3HI52QVuse NIX_*_DIR env vars when defined - [38]
CLJQCY2X* Store info about all the build actions and allow them to be - [39]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [40]
L2E6EVE2* Merged the Build and Job tables. - [41]
BDSD2JLV* Speed up manifest generation. - [42]
TIOBBINA* Some renaming. - [43]
A63IHCMX* Register GC roots properly. - [44]
FHAVPTZ6Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status - [45]
KA45EBF5* Send email if a build fails. - [46]
FR7XCVLK - [47]
5SHCWE7X* Prevent repeated evaluation of a jobset with the same inputs. This - [48]
7YBYT2LQ - [49]
3ZCEPLNO - [50]
FDE3BJAP* Refactoring. - [51]
S3ZLZP3N* Cut off builds after half an hour of apparent inactivity. This - [52]
3BKF6P72* Use Nix's negative caching. - [53]
64K7R4Y6Forgot to change Nix to Nix::Store in one place - [54]
RBHHV7P7* Read logs using logContents function in stead of handling it everywhere separately. - [55]
7DWCXNC7Use the new Nix Perl bindings - [56]
AS5PAYLI - [57]
IXCUNELF* Don't bother with the Jobs.active column anymore. - [58]
ALXRI3Y5hydra: removed need for HYDRA_BUILD_BASEURL env variable - [59]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction. - [60]
X27GNHDV* Basic job info in the database. - [61]
IN272KZW* Automatically keep all builds in the latest successful release in - [62]
6US6LEC7* Add a NarSize field to Hydra manifests. This allows nix-env - [63]
S5PV6IIM* Represent jobs explicitly in the DB. - [64]
AMFMXR52Provide a command ‘hydra-init’ to initialise/upgrade the database - [65]
N22GPKYT* Put info about logs / build products in the DB. - [66]
IWHFLFVV* Randomly permute the order in which builds are added. This is - [67]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [68]
POPU2ATH* hydra_scheduler: use eval-jobs. - [69]
QUTWJR7P* Include more info in notification emails. - [70]
TULPZ62Y* Perform builds in parallel. - [71]
H7CNGK4O* Log evaluation errors etc. in the DB. - [72]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [73]
CXRCPDSQ* added support for twitter notification - [74]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [75]
OG7BEM57 - [*]
2GK5DOU7* Downloading closures.
Change contents
- replacement in src/lib/Hydra/Helper/Nix.pm at line 12
getHydraHome getHydraConf txn_dogetHydraHome getHydraConfig txn_do - replacement in src/lib/Hydra/Helper/Nix.pm at line 26
sub getHydraConf {sub getHydraConfig { - replacement in src/lib/Hydra/Helper/Nix.pm at line 28[5.227]→[10.631:706](∅→∅),[10.631]→[10.631:706](∅→∅),[10.706]→[10.306:324](∅→∅),[10.306]→[10.306:324](∅→∅)
die "The HYDRA_CONFIG file ($conf) does not exist!\n" unless -f $conf;return $conf;return {} unless -f $conf;my %config = new Config::General($conf)->getall;return \%config; - edit in src/script/hydra-build at line 27
my $config = getHydraConfig(); - edit in src/script/hydra-build at line 29
my %config = new Config::General(getHydraConf)->getall; - replacement in src/script/hydra-build at line 35
my $addURL = defined $config{'base_uri'};my $addURL = defined $config->{'base_uri'}; - replacement in src/script/hydra-build at line 41
my $url = $config{'base_uri'}."/build/".$build->id ;my $url = $config->{'base_uri'}."/build/".$build->id ; - replacement in src/script/hydra-build at line 86
{ project => $build->project->name{ project => $build->project->name - replacement in src/script/hydra-build at line 93
}, { order_by => ["id DESC"] }}, { order_by => ["id DESC"] } - replacement in src/script/hydra-build at line 115
my $sender = $config{'notification_sender'} ||my $sender = $config->{'notification_sender'} || - replacement in src/script/hydra-build at line 118
my $selfURI = $config{'base_uri'} || "http://localhost:3000";my $selfURI = $config->{'base_uri'} || "http://localhost:3000"; - replacement in src/script/hydra-build at line 238
# Note: `--timeout' was added in Nix 1.0pre27564, June 2011.# Note: `--timeout' was added in Nix 1.0pre27564, June 2011. - replacement in src/script/hydra-build at line 240
"--timeout $timeout " ."--timeout $timeout " . - replacement in src/script/hydra-build at line 262
my $drvPathStep = $1;my $drvPathStep = $1; - replacement in src/script/hydra-build at line 279
my $machine = $2;my $machine = $2; - replacement in src/script/hydra-build at line 284
}} - replacement in src/script/hydra-build at line 392
my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path, 0);$closuresize += $narSize;my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path, 0);$closuresize += $narSize; - replacement in src/script/hydra-build at line 449
die "build $buildId doesn't exist" unless defined $build;die "build $buildId already done" if $build->finished;die "build $buildId doesn't exist\n" unless defined $build;die "build $buildId already done\n" if $build->finished; - replacement in src/script/hydra-evaluator at line 21
my %config = new Config::General(getHydraConf)->getall;my $config = getHydraConfig(); - replacement in src/script/hydra-evaluator at line 28
my @info = fetchInput($db, $project, $jobset, $input->name, $input->type, $alt->value);foreach my $info_el (@info) {push @{$$inputInfo{$input->name}}, $info_el if defined $info_el;}my @info = fetchInput($db, $project, $jobset, $input->name, $input->type, $alt->value);foreach my $info_el (@info) {push @{$$inputInfo{$input->name}}, $info_el if defined $info_el;} - replacement in src/script/hydra-evaluator at line 44
sendJobsetErrorNotification($jobset, $errorMsg);sendJobsetErrorNotification($jobset, $errorMsg); - replacement in src/script/hydra-evaluator at line 52
return if $errorMsg eq "";return if $errorMsg eq ""; - replacement in src/script/hydra-evaluator at line 58
my $sender = $config{'notification_sender'} ||my $sender = $config->{'notification_sender'} || - replacement in src/script/hydra-evaluator at line 79
],], - replacement in src/script/hydra-evaluator at line 93
my $k = int(rand($n + 1)); # 0 <= $k <= $nmy $k = int(rand($n + 1)); # 0 <= $k <= $n - replacement in src/script/hydra-evaluator at line 104
- replacement in src/script/hydra-evaluator at line 123
- replacement in src/script/hydra-evaluator at line 132
- replacement in src/script/hydra-evaluator at line 154
- replacement in src/script/hydra-evaluator at line 176
- replacement in src/script/hydra-evaluator at line 193
- replacement in src/script/hydra-evaluator at line 201
- replacement in src/script/hydra-evaluator at line 224
- replacement in src/script/hydra-evaluator at line 226
- replacement in src/script/hydra-evaluator at line 230