From c788367edaf5fa8ac24e60d127851a360fe2c134 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 f401fe098dcc0d..16e0dd723ecf4a 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";