Commit Graph

58 Commits

Author SHA1 Message Date
3b5e84cc73 Tweak debug output 2015-03-23 12:59:41 +01:00
479632efa3 Call initGC() 2015-03-19 20:16:38 +01:00
4c0e3e4703 Debug tweak 2015-03-18 22:03:55 +01:00
9b38b5f134 Remove the longDescription field
It's not useful and takes up a lot of space.
2014-09-30 15:44:09 +02:00
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
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
0d5a38a40b Really fix hydra-eval-jobs
Fixes #183.
2014-09-24 15:55:19 +02:00
b11cb37044 Handle derivations without a system attribute 2014-09-22 16:53:40 +02:00
eb2f3eb8d4 Fix build 2014-09-22 16:47:02 +02:00
4727165832 Use pkgconfig to find Nix 2014-09-18 12:24:05 +02:00
c1bf3bb0f2 hydra-eval-jobs: Add --dry-run option 2014-09-12 14:30:01 +02:00
2f7e928f4e Bump default silent timeout to 2 hours 2014-08-25 11:35:56 +02:00
3520315fea Fix build and handling of string inputs starting with a dash
Fixes #176.
2014-08-13 16:24:26 +02:00
114f8a26ee Fix build for new nixUnstable 2014-06-16 12:24:17 -04:00
4aa01e021e Fix building against the latest Nix 2014-04-08 17:08:09 +02:00
2d8f2503c5 Build against latest Nix 2014-03-05 11:11:59 +01:00
62809f484f hydra-eval-jobs: Fix building against the latest unstable Nix 2014-01-12 17:37:56 +01:00
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
5078730cb5 Use evalFile() instead of parseExprFromFile() 2013-09-06 15:17:27 +00:00
1776d9118f Rename aggregate members to constituents 2013-08-15 02:33:10 +02:00
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
61405ec58a hydra-eval-jobs: Use function argument default values 2013-03-29 01:14:24 +01:00
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
67aefde62c Remove trailing whitespace 2013-01-22 14:41:02 +01:00
5fa688acf5 Don't ignore assertion failures in getDerivation() 2012-10-04 15:24:25 -04:00
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
fdc516289c Doh - clear $NIX_PATH properly 2012-05-23 14:44:23 -04:00
8538953868 Don't write one character at a time, it's inefficient 2012-05-10 12:02:41 -04:00
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
739a03393c allow null values for jobs, meaning it should build 2012-02-16 11:03:22 +01:00
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
be1935f66a Rename hydra_eval_jobs to hydra-eval-jobs 2011-11-30 18:14:48 +01:00
2a18d8aac9 * Fix hydra_eval_jobs. 2011-09-15 08:34:08 +00:00
d49ccadfea * Build fix. 2011-08-19 15:43:23 +00:00
e080af3daa * Revert r27114, it seems to break stuff. 2011-05-09 08:57:19 +00:00
334c71cd07 * Use default values of job function arguments if they're not
specified in Hydra.
2011-05-03 09:21:27 +00:00
18e23e90e2 hydra: Clarify the dependency on BDW-GC. 2011-01-14 12:53:54 +00:00
738712fca0 * Merge the GC branch. 2010-11-19 11:01:31 +00:00
7cd219bcbc 2010-10-19 14:19:50 +00:00
c37b90ee3e hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
4f5ed95bb9 * For ease of use during debugging, don't require --gc-roots-dir. 2010-06-01 11:20:05 +00:00
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
b59abaeb22 * Updated hydra_eval_jobs for the new evaluator. 2010-05-18 09:57:37 +00:00
934fbc868f * Fix building hydra_eval_jobs against the sqlite branch. 2010-03-04 13:26:28 +00:00
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
24a3b39463 * Store meta.maintainers. 2009-07-07 14:33:51 +00:00
6bcdfc8a1f 2009-07-07 13:20:00 +00:00
d2fc382498 * Register GC roots properly. 2009-03-15 11:56:11 +00:00
e87896e4b4 * eval-jobs -> hydra_eval_jobs. 2009-03-09 15:16:11 +00:00
8c58448afc * hydra_scheduler: use eval-jobs. 2009-03-09 13:04:46 +00:00