Hydra, for Lix
Find a file
Antoine Eiche 0d2a2d8923 Add json output for the search API endpoint
This commit also add a test of this feature.

Note the search JSON output doesn't contain any jobs because they can
not be exported to JSON yet.

The JSON output on a search query matching a build looks like:

```
{
  "builds": [
    {
      "buildoutputs": {
        "out": {
          "path": "/nix/store/wdag3pznrvqk01byk989irg7rq3q2a2c-job"
        }
      },
      "finished": 0,
      "releasename": null,
      "starttime": null,
      "project": "sample",
      "buildproducts": {},
      "timestamp": 1541007629,
      "buildstatus": null,
      "nixname": "job",
      "drvpath": "/nix/store/n9zqndn7j7nyr6gg3bmxvw26cfmdwv2n-job.drv",
      "job": "job",
      "id": 1,
      "stoptime": null,
      "priority": 100,
      "system": "x86_64-linux",
      "jobsetevals": [
        1
      ],
      "jobset": "default",
      "buildmetrics": {}
    }
  ],
  "projects": [],
  "jobsets": [],
  "buildsdrv": []
}
```
2018-11-01 09:31:15 +01:00
datadog add space 2017-07-26 16:56:16 +01:00
doc Distinguish build step states 2017-12-07 15:35:31 +01:00
src Add json output for the search API endpoint 2018-11-01 09:31:15 +01:00
tests Add json output for the search API endpoint 2018-11-01 09:31:15 +01:00
.gitignore Fixes NixOS/hydra#402 (#424) 2017-08-10 14:16:24 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Include nix/config.h 2017-03-03 12:33:22 +01:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
hydra-module.nix Fix Hydra VM tests 2018-07-31 21:49:05 +02:00
INSTALL hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
Makefile.am Install hydra-module.nix into $out/share/nix 2013-07-28 11:24:31 -04:00
README.md Fix link syntax in README.md (#511) 2017-09-30 22:39:36 +01:00
release.nix also add CatalystXRoleApplicator 2018-10-30 15:11:01 +01:00
shell.nix inNixShell considered harmful 2016-03-22 13:10:37 +01:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00

Hydra

Hydra is a continuous integration system based on the Nix package manager. For more information, see the manual.

For development see hacking instructions.


Icons provided free by EmojiOne.