Merge pull request #17647 from grahamc/gocd-improve

gocd-agent / gocd-server: Reduce test memory requirements so Hydra builds
This commit is contained in:
Graham Christensen 2016-08-10 16:34:10 -04:00 committed by GitHub
commit bc8e080ac5
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : {
gocd_agent = gocd_agent =
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
virtualisation.memorySize = 2048; virtualisation.memorySize = 2046;
services.gocd-agent = { services.gocd-agent = {
enable = true; enable = true;
}; };

View File

@ -2,7 +2,7 @@
# 1. GoCD server starts # 1. GoCD server starts
# 2. GoCD server responds # 2. GoCD server responds
import ./make-test.nix ({ pkgs, ...} : import ./make-test.nix ({ pkgs, ...} :
{ {
name = "gocd-server"; name = "gocd-server";
@ -13,8 +13,8 @@ import ./make-test.nix ({ pkgs, ...} :
nodes = { nodes = {
gocd_server = gocd_server =
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
virtualisation.memorySize = 2048; virtualisation.memorySize = 2046;
services.gocd-server.enable = true; services.gocd-server.enable = true;
}; };
}; };