summary refs log tree commit diff
path: root/nixos/tests/gitlab.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-12-04 23:52:55 +0100
committerRobin Gloster <mail@glob.in>2018-12-05 10:47:18 +0100
commit5c82aa885404e36b026cd2084e7432c6e5194139 (patch)
tree417c1b8602110e9d8c00fee38c0629b5e5c6bc79 /nixos/tests/gitlab.nix
parent906bad8fe1740ddc40e373b89ec7591aac39b5e6 (diff)
downloadnixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar.gz
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar.bz2
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar.lz
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar.xz
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.tar.zst
nixpkgs-5c82aa885404e36b026cd2084e7432c6e5194139.zip
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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix
index 269da8aa215..f401fe098dc 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";