c3d2-web: mount a bigger tmpfs on /tmp

This commit is contained in:
Astro 2024-03-18 22:52:13 +01:00
parent 74b00a39e5
commit ee73f0b701
1 changed files with 10 additions and 1 deletions

View File

@ -3,7 +3,16 @@
{
microvm = {
vcpu = 4;
mem = 2 * 1024; # drone-ssh-runner clones the git repo which requires some RAM
# drone-ssh-runner clones the git repo into tmpfs which requires
# some RAM
mem = 2 * 1024;
};
# drone-ssh-runner clones into /tmp which needs to be bigger than
# the default rootfs tmpfs
boot.tmp = {
useTmpfs = true;
tmpfsSize = "80%";
};
c3d2.deployment = {