From 98dfa42ff3576500d3f8b0b9c4535dfe1eeb4bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 1 May 2024 12:23:23 +0200 Subject: [PATCH] example: add gitea section --- examples/master.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/master.nix b/examples/master.nix index 824ed62..b98eaf3 100644 --- a/examples/master.nix +++ b/examples/master.nix @@ -35,6 +35,19 @@ # This builder has a "Update Github Projects" button that everyone in the github organization can use. topic = "buildbot-mic92"; }; + + # Gitea example + # authBackend = "gitea"; # login with gitea + #gitea = { + # enable = true; + # instanceUrl = "https://git.clan.lol"; + # # Create a Gitea App with for redirect uris: https://buildbot.clan.lol/auth/login + # oauthId = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"; + # oauthSecretFile = pkgs.writeText "gitea-oauth-secret" "ffffffffffffffffffffffffffffffffffffffff"; # FIXME: replace this with a secret not stored in the nix store; + # webhookSecretFile = pkgs.writeText "gitea-webhook-secret" "00000000000000000000"; # FIXME: replace this with a secret not stored in the nix store + # tokenFile = pkgs.writeText "gitea-token" "0000000000000000000000000000000000000000"; # FIXME: replace this with a secret not stored in the nix store + # topic = "buildbot-clan"; + #}; # optional expose latest store path as text file # outputsPath = "/var/www/buildbot/nix-outputs";