🔧 renamed forgejo-runners
Some checks failed
Build all NixOS Configurations / nix build (push) Has been cancelled

This commit is contained in:
Ingolf Wagner 2024-10-13 02:13:39 +09:00
parent b20dff2899
commit f97ab14238
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -30,12 +30,12 @@ in
prompt = "please enter your gitea-runner password"; prompt = "please enter your gitea-runner password";
path = with pkgs; [ coreutils ]; path = with pkgs; [ coreutils ];
script = '' script = ''
echo "$prompt_value" > "$secrets"/gitea-runner.token echo "TOKEN=$prompt_value" > "$secrets"/gitea-runner.token
''; '';
}; };
}; };
systemd.services."gitea-runner-${escapeSystemdPath "git.ingolf-wagner.de"}" = { systemd.services."gitea-runner-orbi" = {
serviceConfig = { serviceConfig = {
DynamicUser = lib.mkForce false; DynamicUser = lib.mkForce false;
}; };
@ -43,7 +43,7 @@ in
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-runner; package = pkgs.forgejo-runner;
instances."git.ingolf-wagner.de" = { instances."orbi" = {
enable = true; enable = true;
settings = { settings = {
runner = { runner = {
@ -64,7 +64,8 @@ in
]; ];
url = "https://git.ingolf-wagner.de"; url = "https://git.ingolf-wagner.de";
tokenFile = config.clan.core.facts.services.gitea-runner.secret."gitea-runner.token".path; tokenFile = config.clan.core.facts.services.gitea-runner.secret."gitea-runner.token".path;
name = "fick_deine_mudda"; name = "orbi";
labels = [ labels = [
# provide a debian base with nodejs for actions # provide a debian base with nodejs for actions
#"debian-latest:docker://node:18-bullseye" #"debian-latest:docker://node:18-bullseye"