Eelco Dolstra
09a96c642a
hydra-eval-jobs: Use JSON instead of XML
...
XML::Simple is pretty slow - reading the output for the Nixpkgs jobset
takes half a minute or so. JSON is pretty much instantaneous.
2014-09-30 15:44:08 +02:00
Eelco Dolstra
01f4037d6f
hydra-eval-jobs: Don't keep track of used inputs
...
We no longer store this in the database, so it's not necessary for
hydra-eval-jobs to do this.
2014-09-25 13:38:43 +02:00
Eelco Dolstra
0d5a38a40b
Really fix hydra-eval-jobs
...
Fixes #183 .
2014-09-24 15:55:19 +02:00
Eelco Dolstra
b11cb37044
Handle derivations without a system attribute
2014-09-22 16:53:40 +02:00
Eelco Dolstra
eb2f3eb8d4
Fix build
2014-09-22 16:47:02 +02:00
Eelco Dolstra
4727165832
Use pkgconfig to find Nix
2014-09-18 12:24:05 +02:00
Eelco Dolstra
c1bf3bb0f2
hydra-eval-jobs: Add --dry-run option
2014-09-12 14:30:01 +02:00
Eelco Dolstra
2f7e928f4e
Bump default silent timeout to 2 hours
2014-08-25 11:35:56 +02:00
Eelco Dolstra
3520315fea
Fix build and handling of string inputs starting with a dash
...
Fixes #176 .
2014-08-13 16:24:26 +02:00
Shea Levy
114f8a26ee
Fix build for new nixUnstable
2014-06-16 12:24:17 -04:00
Eelco Dolstra
4aa01e021e
Fix building against the latest Nix
2014-04-08 17:08:09 +02:00
Eelco Dolstra
2d8f2503c5
Build against latest Nix
2014-03-05 11:11:59 +01:00
Eelco Dolstra
62809f484f
hydra-eval-jobs: Fix building against the latest unstable Nix
2014-01-12 17:37:56 +01:00
Eelco Dolstra
32b6ddf772
hydra-eval-jobs: Support meta.license being a list
...
TODO: PostgreSQL has an array column type, we should use it for the
license and maintainers columns.
2013-11-04 22:50:32 +01:00
Eelco Dolstra
5078730cb5
Use evalFile() instead of parseExprFromFile()
2013-09-06 15:17:27 +00:00
Eelco Dolstra
1776d9118f
Rename aggregate members to constituents
2013-08-15 02:33:10 +02:00
Eelco Dolstra
d58142b3f0
Store aggregate members in the database
...
For presentation purposes, we need to know what builds are part of an
aggregate build. So at evaluation time, look at the "members"
attribute, find the corresponding builds in the eval, and create a
mapping in the AggregateMembers table.
2013-08-14 01:59:29 +02:00
Eelco Dolstra
61405ec58a
hydra-eval-jobs: Use function argument default values
2013-03-29 01:14:24 +01:00
Eelco Dolstra
10882a1ffd
Add multiple output support
...
This requires turning the outPath columns in the Builds and BuildSteps
tables into separate tables, and so requires a schema upgrade.
2013-02-13 16:49:28 +00:00
Eelco Dolstra
67aefde62c
Remove trailing whitespace
2013-01-22 14:41:02 +01:00
Eelco Dolstra
5fa688acf5
Don't ignore assertion failures in getDerivation()
2012-10-04 15:24:25 -04:00
Eelco Dolstra
a4ff9b0d08
hydra-eval-jobs: Don't go into an infinite recursion
...
The function getDerivation() can return false if its argument is a
derivation. This happens if evaluating the name or system attribute
triggers an assertion. In that case, we shouldn't recurse into the
attributes of the derivation.
2012-10-04 14:31:47 -04:00
Eelco Dolstra
fdc516289c
Doh - clear $NIX_PATH properly
2012-05-23 14:44:23 -04:00
Eelco Dolstra
8538953868
Don't write one character at a time, it's inefficient
2012-05-10 12:02:41 -04:00
Rob Vermaas
bb6ef9c2ed
accidentally committed an = too little, which caused all unknown values to result in 'not building', which was not the intention
2012-02-16 11:14:22 +01:00
Rob Vermaas
739a03393c
allow null values for jobs, meaning it should build
2012-02-16 11:03:22 +01:00
Eelco Dolstra
3b9a62c964
Pass inputs to release expressions using -I
...
This means that you can now write (for instance)
with <nixpkgs> { ... };
in release.nix, rather than
{ nixpkgs } :
with nixpkgs { ... };
2011-12-05 13:08:43 +01:00
Eelco Dolstra
be1935f66a
Rename hydra_eval_jobs to hydra-eval-jobs
2011-11-30 18:14:48 +01:00
Eelco Dolstra
2a18d8aac9
* Fix hydra_eval_jobs.
2011-09-15 08:34:08 +00:00
Eelco Dolstra
d49ccadfea
* Build fix.
2011-08-19 15:43:23 +00:00
Eelco Dolstra
e080af3daa
* Revert r27114, it seems to break stuff.
2011-05-09 08:57:19 +00:00
Eelco Dolstra
334c71cd07
* Use default values of job function arguments if they're not
...
specified in Hydra.
2011-05-03 09:21:27 +00:00
Ludovic Courtès
18e23e90e2
hydra: Clarify the dependency on BDW-GC.
2011-01-14 12:53:54 +00:00
Eelco Dolstra
738712fca0
* Merge the GC branch.
2010-11-19 11:01:31 +00:00
Eelco Dolstra
7cd219bcbc
2010-10-19 14:19:50 +00:00
Rob Vermaas
c37b90ee3e
hydra: use autoconf/-make
2010-09-30 14:29:15 +00:00
Eelco Dolstra
4f5ed95bb9
* For ease of use during debugging, don't require --gc-roots-dir.
2010-06-01 11:20:05 +00:00
Rob Vermaas
bb7f82840b
Hydra: Add support for maxSilent meta attribute (also already added timeout, but not implemented the actual timeout for the build yet)
2010-05-26 08:03:59 +00:00
Eelco Dolstra
b59abaeb22
* Updated hydra_eval_jobs for the new evaluator.
2010-05-18 09:57:37 +00:00
Eelco Dolstra
934fbc868f
* Fix building hydra_eval_jobs against the sqlite branch.
2010-03-04 13:26:28 +00:00
Eelco Dolstra
ee31b6e3df
* Don't catch all errors. Some errors mess up the connection with the
...
Nix daemon:
at `debootstrap' [system = "i686-linux"]:
getting attributes of path `/nix/store/dmhydkv6y1l4wpz4wq8qkf0fnlrhjr3l-svn-export/pkgs/tools/misc/debootstrap/subst.patch': No such file or directory
at `debootstrap' [system = "x86_64-linux"]:
writing to file: Broken pipe
etc.
2009-10-08 12:29:20 +00:00
Eelco Dolstra
24a3b39463
* Store meta.maintainers.
2009-07-07 14:33:51 +00:00
Eelco Dolstra
6bcdfc8a1f
2009-07-07 13:20:00 +00:00
Eelco Dolstra
d2fc382498
* Register GC roots properly.
2009-03-15 11:56:11 +00:00
Eelco Dolstra
e87896e4b4
* eval-jobs -> hydra_eval_jobs.
2009-03-09 15:16:11 +00:00
Eelco Dolstra
8c58448afc
* hydra_scheduler: use eval-jobs.
2009-03-09 13:04:46 +00:00
Eelco Dolstra
875f57857e
* Require every argument to be specified.
2009-03-09 10:13:45 +00:00
Eelco Dolstra
322d907629
2009-03-09 10:01:04 +00:00
Eelco Dolstra
5c45661141
* Report evaluation errors per job, and don't bail out if a job fails
...
to evaluate.
2009-03-07 14:06:10 +00:00
Eelco Dolstra
ba002c6ac5
* eval-jobs now efficiently evaluates all Hydra jobs from a
...
release.nix expression, accepting multiple values for function
arguments. This is much faster than calling nix-instantiate /
nix-env a zillion times (which is particularly important for
Nixpkgs).
2009-03-06 16:55:19 +00:00