Testing
This commit is contained in:
parent
0cc6a56ef4
commit
64bb2d779a
1 changed files with 8 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
enable = true;
|
||||
name = "${hostname}";
|
||||
labels = [
|
||||
"nix"
|
||||
"nix:host://self-hsoted"
|
||||
"${hostname}:host://self-hosted"
|
||||
"self-hosted:host://self-hosted"
|
||||
"alpine:docker://alpine:edge"
|
||||
|
@ -23,14 +23,18 @@
|
|||
];
|
||||
url = "https://git.sysctl.io";
|
||||
tokenFile = /run/secrets/services/forgejo_token;
|
||||
hostPackages = with pkgs; [ nix deploy-rs nodejs coreutils ];
|
||||
hostPackages = with pkgs; [ nix deploy-rs nodejs coreutils git gnutar gzip ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
systemd.services.gitea-actions-runner-default = {
|
||||
serviceConfig = {
|
||||
CacheDirectory = "gitea-actions-runner-default"; # Add this line
|
||||
StateDirectory = "gitea-actions-runner-default";
|
||||
RuntimeDirectory = "gitea-actions-runner-default";
|
||||
RuntimeDirectory = "gitea-actions-runner-default";
|
||||
};
|
||||
preStop = ''
|
||||
rm -rf /var/lib/gitea-runner/default/.cache/act/*
|
||||
''; # Cache cleanup
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue