Hydra, for Lix
Find a file
Eelco Dolstra 4d26546d3c Add support for tracking custom metrics
Builds can now emit metrics that Hydra will store in its database and
render as time series via flot charts. Typical applications are to
keep track of performance indicators, coverage percentages, artifact
sizes, and so on.

For example, a coverage build can emit the coverage percentage as
follows:

  echo "lineCoverage $pct %" > $out/nix-support/hydra-metrics

Graphs of all metrics for a job can be seen at

  http://.../job/<project>/<jobset>/<job>#tabs-charts

Specific metrics are also visible at

  http://.../job/<project>/<jobset>/<job>/metric/<metric>

The latter URL also allows getting the data in JSON format (e.g. via
"curl -H 'Accept: application/json'").
2015-07-31 00:57:30 +02:00
doc Disable building the PDF manual 2015-07-08 16:51:05 +02:00
src Add support for tracking custom metrics 2015-07-31 00:57:30 +02:00
tests Run PostgreSQL during "make check" 2015-06-25 16:47:39 +02:00
.gitignore Shut up warnings 2015-05-28 17:38:17 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Start of single-process hydra-queue-runner 2015-05-28 17:39:29 +02:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
dev-shell Tweaks for nix-shell 2013-07-19 14:36:52 +02:00
hydra-module.nix hydra-queue-runner.service: Set IN_SYSTEMD 2015-07-21 01:54:24 +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 Build from source remark in README.md 2015-02-10 13:06:04 +00:00
release.nix Use nixUnstable 2015-07-30 16:55:11 +02:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00

To start hacking on Hydra, run:

$ ./dev-shell
$ ./configure $configureFlags --prefix=/opt/hydra
$ make
$ make install

Or, if you just want to build from source (on x86_64-linux):

$ nix-build -A build.x86_64-linux release.nix