gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bit

This commit is contained in:
Florian Klink 2018-12-16 17:03:57 +01:00 committed by Robin Gloster
parent 1812014215
commit a9eae44ee5

View file

@ -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";