Make some room on /tmp for drones build directory
This commit is contained in:
parent
1883bb321f
commit
400b22ae3b
|
@ -1,4 +1,4 @@
|
|||
{ config, hostRegistry, pkgs, ... }:
|
||||
{ config, hostRegistry, options, pkgs, ... }:
|
||||
let
|
||||
webroot = "/var/www";
|
||||
in
|
||||
|
@ -7,9 +7,12 @@ in
|
|||
vcpu = 8;
|
||||
mem = 1024;
|
||||
};
|
||||
c3d2.deployment.server = "server10";
|
||||
c3d2.deployment = {
|
||||
# /tmp is to small for drone to clone the repo even with depth
|
||||
mounts = options.c3d2.deployment.mounts.default ++ [ "tmp" ];
|
||||
server = "server10";
|
||||
};
|
||||
|
||||
boot.tmpOnTmpfs = true;
|
||||
system.stateVersion = "22.05";
|
||||
|
||||
networking.hostName = "c3d2-web";
|
||||
|
|
Loading…
Reference in New Issue