From a9eae44ee5a290b16ae84af5f6f976d308f83a9a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 16 Dec 2018 17:03:57 +0100 Subject: [PATCH] gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bit --- nixos/tests/gitlab.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";