forgejo-runner: init basegbot runner
All checks were successful
/ check (push) Successful in 38s

This commit is contained in:
notohh 2023-10-08 00:19:33 -04:00
parent 61deabc2dd
commit 0c89612491
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -4,6 +4,7 @@
...
}: {
sops.secrets.forgejo-runner-token = {};
sops.secrets.basegbot-runner-token = {};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.snowflake = {
@ -29,5 +30,28 @@
gitMinimal
];
};
instances.basegbot = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.basegbot-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}