Commit Graph

153 Commits

Author SHA1 Message Date
117ae78a45 32-bit qemu can only do 2047 MB
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-03 16:42:10 -04:00
002ac9ef63 Merge in the first bits of the API work
The catalyst-action-rest branch from shlevy/hydra was an exploration of
using Catalyst::Action::REST to create a JSON API for hydra. This commit
merges in the best bits from that experiment, with the goal that further
API endpoints can be added incrementally.

In addition to migrating more endpoints, there is potential for
improvement in what's already been done:
* The web interface can be updated to use the same non-GET endpoints as
  the JSON interface (using x-tunneled-method) instead of having a
  separate endpoint
* The web rendering should use the $c->stash->{resource} data structure
  where applicable rather than putting the same data in two places in
  the stash
* Which columns to render for each endpoint is a completely debatable
  question
* Hydra::Component::ToJSON should turn has_many relations that have
  strings as their primary keys into objects instead of arrays

Fixes 

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-02 14:00:46 -04:00
663b6a747b release.nix: Get rid of the "system" argument 2013-07-01 19:37:14 +02:00
9939ddf22c Add a plugin for HipChat notification
This plugin sends notification of build failure or success to a
HipChat room, if the status differs from the last build.

The plugin can be configured by adding one or more of these stanzas to
hydra.conf:

  <hipchat>
    jobs = (patchelf|nixops):.*:.*
    room = 1234
    token = 39ab2198fe...
  </hipchat>

Here "jobs" is a regular expression against which the fully qualified
job name of the build is matched (so for instance
"nixops:master:tarball" will match the stanza above).
2013-06-27 18:56:31 +02:00
0046c81857 Remove Switch dependency, we're not using it 2013-06-13 15:14:33 +02:00
7a926935a5 Add Catalyst::DispatchType::Regex for forward compatibility 2013-06-13 15:13:52 +02:00
66c695e1c3 Fix ‘Unable to handle files with the extension 'conf'’
Config::Any uses Module::Pluggable to seach for plugins, so it needs
the patched Module::Pluggable in Nixpkgs (rather than the one in Perl
itself) to properly find plugins in symlink trees created by buildEnv.
2013-06-02 23:29:24 +02:00
5e0542d3af Use buildEnv to combine Hydra's Perl dependencies
This makes the Perl search path ($PERL5LIB) much shorter, cutting down
the number of stat() calls when starting hydra-server from ~432000 to
~9000.
2013-05-24 15:26:47 -04:00
7807ff27b7 Fix the test 2013-04-12 01:24:16 +02:00
60e36d3d1a Cleanup 2013-01-23 15:47:42 +01:00
b1f7aa0583 Fail on failure 2013-01-23 12:46:01 +00:00
418e57ec3f VM test: start the web server 2013-01-23 13:00:07 +01:00
15ee6147d0 Fix VM test 2013-01-23 12:55:29 +01:00
67aefde62c Remove trailing whitespace 2013-01-22 14:41:02 +01:00
12223d6202 Add bzip2 to buildInputs. 2012-06-25 12:04:25 +02:00
854513be8e I should test first 2012-04-30 17:57:13 +02:00
7734de5817 Add OpenSSL as a dependency because Nix needs it
Actually the real problem is that a) Nix doesn't propagate the OpenSSL
dependency; b) Nix shouldn't link against OpenSSL by default anyway.
2012-04-04 11:43:14 +02:00
1904f82f06 add openssl to deps 2012-04-01 18:15:00 +02:00
914c5e248a Use <...> syntax 2012-03-13 11:03:32 +01:00
1d96b0ba67 Use a nicer version string 2011-12-05 15:53:23 +01:00
6c4e83d454 More command renaming. 2011-12-02 15:58:26 +01:00
dd6e5d49ba Fix the test 2011-11-30 18:14:48 +01:00
5d1ae69696 Second attempt to get Hydra to see style.css & co. 2011-10-12 15:04:13 +00:00
1007c0ca20 Specify all of $(htmldir) as the doc. 2011-10-12 14:54:23 +00:00
926c622252 remove nix from buildinputs 2011-10-04 20:56:31 +00:00
8e87f2cf61 add nix to buildinputs 2011-10-04 20:23:49 +00:00
7764095835 * Pass nixUnstable to the tarball build. 2011-08-19 15:43:43 +00:00
5a8e0d1e13 * Fix symbol to look for. 2011-08-19 15:28:32 +00:00
1ddd8b29fb release.nix: Install the manual under the right prefix. 2011-07-04 20:11:51 +00:00
1e737f95f8 release.nix: Add --with-docbook-xsl' to the configure flags for tarball'. 2011-07-04 15:36:38 +00:00
2e723601ca release.nix: Make the HTML manual a Hydra build product. 2011-07-04 14:48:44 +00:00
63e3e869c9 release.nix: Remove `services' arguments to ${nixos}/lib/testing.nix. 2011-07-04 14:06:05 +00:00
ffa4ba3b9e nix-prefetch-* scripts are in hydra svn now 2011-03-25 08:18:26 +00:00
385b70c898 hydra: fixed and re-enabled evaluation tests 2011-03-24 13:45:01 +00:00
d0ba7678d5 oops, should have added topgit to hydraPath 2011-03-21 13:01:54 +00:00
d939b06ced add topgit to hydra's path 2011-03-21 12:52:11 +00:00
5db13c92b2 keep build directory 2011-03-17 09:18:13 +00:00
e981a48d97 svn -> subversion 2011-03-16 14:25:39 +00:00
14e470e680 hydrA: add some pkgs to buildinputs for tests 2011-03-16 14:22:53 +00:00
e4e04dd123 add sqlite to buildinputs 2011-03-16 09:31:44 +00:00
d7c3d06d59 hydra: add bazaar to path 2011-02-08 13:41:23 +00:00
b75207946b hydra/release.nix: use new location for manual.pdf 2011-01-17 09:32:29 +00:00
2892c92569 move nix-prefetch-* into tarball 2011-01-14 14:04:46 +00:00
18e23e90e2 hydra: Clarify the dependency on BDW-GC. 2011-01-14 12:53:54 +00:00
55a6f53c66 hydra: Change the tarball' job to use --with-nix'. 2011-01-14 12:42:37 +00:00
8463942811 hydra/release.nix: posthook -> postdist 2011-01-14 10:48:50 +00:00
3d17802d1c hydra/release.nix: move manual to tarball build, restore version in store path for tarball build 2011-01-14 10:43:47 +00:00
ba31684153 2010-11-19 11:36:11 +00:00
52292ef0af hydra: revert 24180 2010-10-18 10:34:54 +00:00
753f5679cb hydra: remove HYDRA_HOME env var, not used 2010-10-08 10:45:44 +00:00