Testing forgejo-runner on framework-server
Some checks failed
ssh-test / ssh-test (push) Failing after 21s
Some checks failed
ssh-test / ssh-test (push) Failing after 21s
This commit is contained in:
parent
c7ebf9de06
commit
71bcdffd87
2 changed files with 11 additions and 8 deletions
|
@ -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;
|
||||||
|
instances."${hostname}" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "${hostname}";
|
name = "${hostname}";
|
||||||
labels = [ "host://-self-hosted" ];
|
labels = [ "native:host" ];
|
||||||
url = "https://git.sysctl.io";
|
url = "https://git.sysctl.io";
|
||||||
tokenFile = "/run/secrets/services/forgejo_token";
|
tokenFile = "/run/secrets/services/forgejo_token";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue