Skip to content

Commit

Permalink
nixos/tests/jenkins: increase disk size to 2 GiB
Browse files Browse the repository at this point in the history
Or else Jenkins stops the built-in node due to lack of disk space (when
using the default 1 GiB).
  • Loading branch information
bjornfor committed Dec 13, 2024
1 parent 172123b commit 5843a13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/tests/jenkins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ import ./make-test-python.nix ({ pkgs, ...} : {
users.users.jenkins.extraGroups = [ "users" ];

systemd.services.jenkins.serviceConfig.TimeoutStartSec = "6min";

# Increase disk space to prevent this issue:
#
# WARNING h.n.DiskSpaceMonitorDescriptor#markNodeOfflineOrOnline: Making Built-In Node offline temporarily due to the lack of disk space
virtualisation.diskSize = 2 * 1024;
};

slave =
Expand Down

0 comments on commit 5843a13

Please sign in to comment.