hydra/src
Shea Levy 4392d3e21d Enable declarative projects.
This allows fully declarative project specifications. This is best
illustrated by example:

* I create a new project, setting the declarative spec file to
  "spec.json" and the declarative input to a git repo pointing
  at git://github.com/shlevy/declarative-hydra-example.git
* hydra creates a special ".jobsets" jobset alongside the project
* Just before evaluating the ".jobsets" jobset, hydra fetches
  declarative-hydra-example.git, reads spec.json as a jobset spec,
  and updates the jobset's configuration accordingly:
{
    "enabled": 1,
    "hidden": false,
    "description": "Jobsets",
    "nixexprinput": "src",
    "nixexprpath": "default.nix",
    "checkinterval": 300,
    "schedulingshares": 100,
    "enableemail": false,
    "emailoverride": "",
    "keepnr": 3,
    "inputs": {
        "src": { "type": "git", "value": "git://github.com/shlevy/declarative-hydra-example.git", "emailresponsible": false },
        "nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs.git release-16.03", "emailresponsible": false }
    }
}
* When the "jobsets" job of the ".jobsets" jobset completes, hydra
  reads its output as a JSON representation of a dictionary of
  jobset specs and creates a jobset named "master" configured
  accordingly (In this example, this is the same configuration as
  .jobsets itself, except using release.nix instead of default.nix):
{
    "enabled": 1,
    "hidden": false,
    "description": "js",
    "nixexprinput": "src",
    "nixexprpath": "release.nix",
    "checkinterval": 300,
    "schedulingshares": 100,
    "enableemail": false,
    "emailoverride": "",
    "keepnr": 3,
    "inputs": {
        "src": { "type": "git", "value": "git://github.com/shlevy/declarative-hydra-example.git", "emailresponsible": false },
        "nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs.git release-16.03", "emailresponsible": false }
    }
}
2016-05-09 08:54:27 -04:00
..
hydra-eval-jobs Process Nix API changes 2016-02-11 15:59:47 +01:00
hydra-queue-runner S3BinaryCacheStore: Use disk cache 2016-04-20 15:29:40 +02:00
lib Enable declarative projects. 2016-05-09 08:54:27 -04:00
root Enable declarative projects. 2016-05-09 08:54:27 -04:00
script Enable declarative projects. 2016-05-09 08:54:27 -04:00
sql Enable declarative projects. 2016-05-09 08:54:27 -04:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
xsl Fix UTF-8 handling of log files 2014-08-13 18:53:29 +02:00
Makefile.am Start of single-process hydra-queue-runner 2015-05-28 17:39:29 +02:00
Makefile.PL * Move everything up one directory. 2009-03-05 13:41:57 +00:00