flora-6: move forgejo-runner cache directory to /data
Flake checks / Check (pull_request) Successful in 16m51s Details

teutat3s 2024-04-23 14:50:48 +02:00
parent 231e4261ae
commit 59b9c8f89d
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,9 @@
# Needed for the docker runner to communicate with the act_runner cache
networking.firewall.trustedInterfaces = [ "br-+" ];
systemd.services."gitea-runner-flora\\x2d6".serviceConfig = {
CacheDirectory = "/data/gitea-actions-runner";
};
# forgejo actions runner
# https://forgejo.org/docs/latest/admin/actions/
# https://docs.gitea.com/usage/actions/quickstart
@ -23,6 +26,9 @@
name = config.networking.hostName;
url = "https://git.pub.solar";
tokenFile = config.age.secrets.forgejo-actions-runner-token.path;
settings = {
"cache.dir" = "/data/gitea-actions-runner/actcache";
};
labels = [
# provide a debian 12 bookworm base with Node.js for actions
"debian-latest:docker://git.pub.solar/pub-solar/actions-base-image:20-bookworm"