From 5c82aa885404e36b026cd2084e7432c6e5194139 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 4 Dec 2018 23:52:55 +0100 Subject: [PATCH] pkgsi686Linux.nixosTests.gitlab: fix 32 bit tests GitLab 11.5.1 dropped the dependency to posix_spawn, which is broken on 32bit. (See https://gitlab.com/gitlab-org/gitlab-ce/issues/53525) The only part missing is decreasing virtualisation.memorySize to something that a 32 bit qemu still executes. The maximum seems to be 2047, and tests passed with that value for me. --- 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 269da8aa215f..f401fe098dcc 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 = 4096; + virtualisation.memorySize = 2047; systemd.services.gitlab.serviceConfig.Restart = mkForce "no"; systemd.services.gitlab-workhorse.serviceConfig.Restart = mkForce "no"; systemd.services.gitaly.serviceConfig.Restart = mkForce "no";