🔧 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";
path = with pkgs; [ coreutils ];
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 = {
DynamicUser = lib.mkForce false;
};
@ -43,7 +43,7 @@ in
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances."git.ingolf-wagner.de" = {
instances."orbi" = {
enable = true;
settings = {
runner = {
@ -64,7 +64,8 @@ in
];
url = "https://git.ingolf-wagner.de";
tokenFile = config.clan.core.facts.services.gitea-runner.secret."gitea-runner.token".path;
name = "fick_deine_mudda";
name = "orbi";
labels = [
# provide a debian base with nodejs for actions
#"debian-latest:docker://node:18-bullseye"