Testing forgejo-runner on framework-server
Some checks failed
ssh-test / ssh-test (push) Failing after 21s

This commit is contained in:
iFargle 2023-12-25 10:10:46 +09:00
parent c7ebf9de06
commit 71bcdffd87
2 changed files with 11 additions and 8 deletions

View file

@ -2,16 +2,18 @@
# Set up the secret for the password: # Set up the secret for the password:
sops.secrets."services/forgejo_token" = { sops.secrets."services/forgejo_token" = {
owner = "root"; owner = "gitea-runner";
sopsFile = ../../../secrets/secrets.yaml; sopsFile = ../../../secrets/secrets.yaml;
}; };
services.gitea-actions-runner.package = pkgs.forgejo-actions-runner; services.gitea-actions-runner = {
services.gitea-actions-runner.instances."${hostname}" = { package = pkgs.forgejo-actions-runner;
enable = true; instances."${hostname}" = {
name = "${hostname}"; enable = true;
labels = [ "host://-self-hosted" ]; name = "${hostname}";
url = "https://git.sysctl.io"; labels = [ "native:host" ];
tokenFile = "/run/secrets/services/forgejo_token"; url = "https://git.sysctl.io";
tokenFile = "/run/secrets/services/forgejo_token";
};
}; };
} }

View file

@ -7,6 +7,7 @@
../../common/services/fwupd.nix ../../common/services/fwupd.nix
../../common/modules/ssh-luks.nix ../../common/modules/ssh-luks.nix
../../common/services/docker.nix ../../common/services/docker.nix
../../common/services/forgejo-runner.nix
./disks.nix ./disks.nix
./builder.nix ./builder.nix
./wireguard.nix ./wireguard.nix