tsuru: enable runners
All checks were successful
/ check (push) Successful in 2m35s
All checks were successful
/ check (push) Successful in 2m35s
This commit is contained in:
parent
0800000f5b
commit
e74430e7f7
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./forgejo-runners.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
sops.secrets.forgejo-runner-token = {};
|
sops.secrets.snowflake-runner-token = {};
|
||||||
sops.secrets.basegbot-runner-token = {};
|
sops.secrets.basegbot-runner-token = {};
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-actions-runner;
|
package = pkgs.forgejo-actions-runner;
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
enable = true;
|
enable = true;
|
||||||
name = config.networking.hostName;
|
name = config.networking.hostName;
|
||||||
token = config.sops.secrets.forgejo-runner-token.path;
|
token = config.sops.secrets.snowflake-runner-token.path;
|
||||||
url = "https://git.flake.sh";
|
url = "https://git.flake.sh";
|
||||||
labels = [
|
labels = [
|
||||||
"debian-latest:docker://node:18-bullseye"
|
"debian-latest:docker://node:18-bullseye"
|
||||||
|
|
Loading…
Reference in a new issue