forgejo-runner: init basegbot runner
All checks were successful
/ check (push) Successful in 38s
All checks were successful
/ check (push) Successful in 38s
This commit is contained in:
parent
61deabc2dd
commit
0c89612491
1 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue