tsuru: remove forgejo runners
This commit is contained in:
parent
685a864e52
commit
18f9ffd7ae
1 changed files with 0 additions and 89 deletions
|
@ -1,89 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
sops.secrets = {
|
||||
snowflake-runner-token = {
|
||||
sopsFile = ../../../secrets/runners/secrets.yaml;
|
||||
};
|
||||
basegbot-runner-token = {
|
||||
sopsFile = ../../../secrets/runners/secrets.yaml;
|
||||
};
|
||||
notohh-dev-runner-token = {
|
||||
sopsFile = ../../../secrets/runners/secrets.yaml;
|
||||
};
|
||||
};
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-actions-runner;
|
||||
instances.snowflake = {
|
||||
settings = {
|
||||
container = {
|
||||
network = "host";
|
||||
};
|
||||
};
|
||||
enable = true;
|
||||
name = config.networking.hostName;
|
||||
token = config.sops.secrets.snowflake-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
|
||||
];
|
||||
};
|
||||
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
|
||||
];
|
||||
};
|
||||
instances.notohh-dev = {
|
||||
settings = {
|
||||
container = {
|
||||
network = "host";
|
||||
};
|
||||
};
|
||||
enable = true;
|
||||
name = config.networking.hostName;
|
||||
token = config.sops.secrets.notohh-dev-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