Skip to content

Commit

Permalink
hydra: 2017-10-26 -> 2017-11-21
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 22, 2017
1 parent e0779e6 commit ad492e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions nixos/modules/services/continuous-integration/hydra/default.nix
Expand Up @@ -28,6 +28,7 @@ let

serverEnv = env //
{ HYDRA_TRACKER = cfg.tracker;
XDG_CACHE_HOME = "${baseDir}/www/.cache";
COLUMNS = "80";
PGPASSFILE = "${baseDir}/pgpass-www"; # grrr
} // (optionalAttrs cfg.debugServer { DBIC_TRACE = "1"; });
Expand Down Expand Up @@ -225,14 +226,14 @@ in

services.hydra.extraConfig =
''
using_frontend_proxy 1
base_uri ${cfg.hydraURL}
notification_sender ${cfg.notificationSender}
max_servers 25
using_frontend_proxy = 1
base_uri = ${cfg.hydraURL}
notification_sender = ${cfg.notificationSender}
max_servers = 25
${optionalString (cfg.logo != null) ''
hydra_logo ${cfg.logo}
hydra_logo = ${cfg.logo}
''}
gc_roots_dir ${cfg.gcRootsDir}
gc_roots_dir = ${cfg.gcRootsDir}
use-substitutes = ${if cfg.useSubstitutes then "1" else "0"}
'';

Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/misc/hydra/default.nix
Expand Up @@ -62,15 +62,15 @@ let
};
in releaseTools.nixBuild rec {
name = "hydra-${version}";
version = "2017-10-26";
version = "2017-11-21";

inherit stdenv;

src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra";
rev = "2cdc84f34f4de647dd89c5ef503782a3a48ff623";
sha256 = "1gcp22ldyc914aik4yhlzy60ym7z8513pvp0ag5637j44nz0rf7h";
rev = "b7bc4384b7b471d1ddf892cb03f16189a66d5a0d";
sha256 = "05g37z3ilazzqa5rqj5zljndwxjbvpc18xibh6jlwjwpvg3kpbbh";
};

buildInputs =
Expand Down

0 comments on commit ad492e6

Please sign in to comment.