about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-12-16 17:03:57 +0100
committerRobin Gloster <mail@glob.in>2018-12-16 19:47:35 +0100
commita9eae44ee5a290b16ae84af5f6f976d308f83a9a (patch)
tree3000f52da0be824b7b73c5411387a18874c9841f /nixos
parent1812014215677d1c89654f33a3dd5afdbfbad239 (diff)
downloadnixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar.gz
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar.bz2
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar.lz
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar.xz
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.tar.zst
nixlib-a9eae44ee5a290b16ae84af5f6f976d308f83a9a.zip
gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bit
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/gitlab.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix
index f401fe098dcc..16e0dd723ecf 100644
--- a/nixos/tests/gitlab.nix
+++ b/nixos/tests/gitlab.nix
@@ -8,7 +8,7 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
 
   nodes = {
     gitlab = { ... }: {
-      virtualisation.memorySize = 2047;
+      virtualisation.memorySize = if pkgs.stdenv.is64bit then 4096 else 2047;
       systemd.services.gitlab.serviceConfig.Restart = mkForce "no";
       systemd.services.gitlab-workhorse.serviceConfig.Restart = mkForce "no";
       systemd.services.gitaly.serviceConfig.Restart = mkForce "no";