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]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction. - [11]
6US6LEC7* Add a NarSize field to Hydra manifests. This allows nix-env - [12]
TULPZ62Y* Perform builds in parallel. - [13]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [14]
S3ZLZP3N* Cut off builds after half an hour of apparent inactivity. This - [15]
64K7R4Y6Forgot to change Nix to Nix::Store in one place - [16]
BDSD2JLV* Speed up manifest generation. - [17]
H7CNGK4O* Log evaluation errors etc. in the DB. - [18]
A63IHCMX* Register GC roots properly. - [19]
7DWCXNC7Use the new Nix Perl bindings - [20]
X27GNHDV* Basic job info in the database. - [21]
SHZLOM5M* eval-jobs -> hydra_eval_jobs. - [22]
L2E6EVE2* Merged the Build and Job tables. - [23]
AFTXA575* $HYDRA_DATA environment variable. - [24]
POPU2ATH* hydra_scheduler: use eval-jobs. - [25]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [26]
QUTWJR7P* Include more info in notification emails. - [27]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [28]
VPKMUFF3hydra-build: only send email if the status differs from the previous build - [29]
4IXVBLUIhack to try and prevent too many newlines - [30]
OG7BEM57 - [31]
N22GPKYT* Put info about logs / build products in the DB. - [32]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [33]
IN272KZW* Automatically keep all builds in the latest successful release in - [34]
S5PV6IIM* Represent jobs explicitly in the DB. - [35]
IXCUNELF* Don't bother with the Jobs.active column anymore. - [36]
ZTQEU5QSHydra: Add support for maxSilent meta attribute (also already added timeout, but not implemented the actual timeout for the build yet) - [37]
RBGYFVWXuse HYDRA_DATA/hydra.conf as default location for hydra.conf - [38]
AMFMXR52Provide a command ‘hydra-init’ to initialise/upgrade the database - [39]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [40]
KA45EBF5* Send email if a build fails. - [41]
FR7XCVLK - [42]
7YBYT2LQ - [43]
W3HI52QVuse NIX_*_DIR env vars when defined - [44]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [45]
RBHHV7P7* Read logs using logContents function in stead of handling it everywhere separately. - [46]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [47]
CXRCPDSQ* added support for twitter notification - [48]
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. - [49]
FHAVPTZ6Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status - [50]
AS5PAYLI - [51]
TIOBBINA* Some renaming. - [52]
CLJQCY2X* Store info about all the build actions and allow them to be - [53]
DDMYFZ5XFix the jobset unchanged check - [54]
NI5BVF2V* In job inputs of type "build", allow the project and jobset names of - [55]
GAIBDEZZ* Store the name of the machine that performed a build step in the - [56]
3ZCEPLNO - [57]
D7NXMCON* Doh. - [58]
P5XCKTFDFix sysbuild input type handling - [59]
6KCP6ODP* Get the URI for use in notification mails from the Hydra config - [60]
FDE3BJAP* Refactoring. - [61]
IWHFLFVV* Randomly permute the order in which builds are added. This is - [62]
UMOJJ6DVtime out to 3600 for now - [63]
2IEFMER5* Add --fallback to prevent problems with obsolete substitutes. - [64]
ZDENAYQI* email notification of evaluation errors to project owner (if desired) - [65]
VJP6O6WA* Doh. Remove debug statement. - [66]
7ZHHVD6Q* Inputs of type "build" must now be declared explicitly. - [67]
D3DIBMOK* For products that are directories (like manuals), allow a default - [68]
XZ7ZIKCV* Allow overriding the sender email address. - [69]
5SHCWE7X* Prevent repeated evaluation of a jobset with the same inputs. This - [70]
RXVJFQ5AEvaluator cleanups - [71]
3XTHEUMP* Implemented the clone feature. - [72]
3BKF6P72* Use Nix's negative caching. - [73]
FYO6NECEhydra - [74]
NLJJZVHO* Use ->update({...}) properly. - [75]
ALXRI3Y5hydra: removed need for HYDRA_BUILD_BASEURL env variable - [*]
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