summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration
diff options
context:
space:
mode:
authorShawn Warren <shawn.warren@rackspace.com>2016-08-10 10:10:13 -0500
committerRok Garbas <rok@garbas.si>2016-08-10 17:10:13 +0200
commit8750b4892ef1004e2cbe4b70e8fa83206b75c76b (patch)
tree2fa842b0fca5e96564fde0901d5c6449493d83ac /nixos/modules/services/continuous-integration
parent52a875fb2329c55070e86e3f85f1d788df10c2c5 (diff)
downloadnixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar.gz
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar.bz2
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar.lz
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar.xz
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.tar.zst
nixlib-8750b4892ef1004e2cbe4b70e8fa83206b75c76b.zip
bump gocd-agent version to 16.6.0-3590 (#17311)
Update gocd-agent package version to 16.6.0-3590 including new sha.  Modify heapSize
and maxMemory mkOption to accurately reflect their intended purpose of configuring
initial java heap sizes.
Diffstat (limited to 'nixos/modules/services/continuous-integration')
-rw-r--r--nixos/modules/services/continuous-integration/gocd-agent/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/services/continuous-integration/gocd-agent/default.nix b/nixos/modules/services/continuous-integration/gocd-agent/default.nix
index 36f6527ee47b..bc6c6d5a2582 100644
--- a/nixos/modules/services/continuous-integration/gocd-agent/default.nix
+++ b/nixos/modules/services/continuous-integration/gocd-agent/default.nix
@@ -36,7 +36,7 @@ in {
       };
 
       packages = mkOption {
-        default = [ pkgs.stdenv pkgs.jre config.programs.ssh.package pkgs.nix ];
+        default = [ pkgs.stdenv pkgs.jre pkgs.git config.programs.ssh.package pkgs.nix ];
         type = types.listOf types.package;
         description = ''
           Packages to add to PATH for the Go.CD agent process.
@@ -80,26 +80,26 @@ in {
         '';
       };
 
-      heapSize = mkOption {
+      initialJavaHeapSize = mkOption {
         default = "128m";
         type = types.str;
         description = ''
-          Specifies the java heap memory size for the Go.CD agent java process.
+          Specifies the initial java heap memory size for the Go.CD agent java process.
         '';
       };
 
-      maxMemory = mkOption {
+      maxJavaHeapMemory = mkOption {
         default = "256m";
         type = types.str;
         description = ''
-          Specifies the java maximum memory size for the Go.CD agent java process.
+          Specifies the java maximum heap memory size for the Go.CD agent java process.
         '';
       };
 
       startupOptions = mkOption {
         default = [
-          "-Xms${cfg.heapSize}"
-          "-Xmx${cfg.maxMemory}"
+          "-Xms${cfg.initialJavaHeapSize}"
+          "-Xmx${cfg.maxJavaHeapMemory}"
           "-Djava.io.tmpdir=/tmp"
           "-Dcruise.console.publish.interval=10"
           "-Djava.security.egd=file:/dev/./urandom"