diff options
author | Florian Klink <flokli@flokli.de> | 2018-12-04 23:52:55 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-12-05 10:47:18 +0100 |
commit | 5c82aa885404e36b026cd2084e7432c6e5194139 (patch) | |
tree | 417c1b8602110e9d8c00fee38c0629b5e5c6bc79 /nixos/tests/gitlab.nix | |
parent | 906bad8fe1740ddc40e373b89ec7591aac39b5e6 (diff) |
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.
Diffstat (limited to 'nixos/tests/gitlab.nix')
-rw-r--r-- | nixos/tests/gitlab.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix index 269da8aa215fe..f401fe098dcc0 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"; |