aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/secrets/secrets.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-03 17:58:45 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-04 15:26:06 -0700
commitde60c61ede30f792f61074ef11e8f8b70ebdf4e5 (patch)
treee999d4d1296185f3b1f49029f73a957d9df3aa8b /hosts/tahoe/secrets/secrets.nix
parentfeat(gerrit-hook): add gerrit-hook to the overlays (diff)
downloadinfra-de60c61ede30f792f61074ef11e8f8b70ebdf4e5.tar.gz
feat(gerrit): add secret for gerrit-hook
The secret is the configuration for the gerrit-hook tool. It contains the URL to our gerrit instance, the username/password for the gerrit user used by the tool, the API token for buildKite and the name of the organization in buildKite. Change-Id: I58233e085c92d4c5db5635eb9942a5e87ee9e55d Reviewed-on: https://cl.fcuny.net/c/world/+/204 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'hosts/tahoe/secrets/secrets.nix')
-rw-r--r--hosts/tahoe/secrets/secrets.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/tahoe/secrets/secrets.nix b/hosts/tahoe/secrets/secrets.nix
index 9eb8188..ed13660 100644
--- a/hosts/tahoe/secrets/secrets.nix
+++ b/hosts/tahoe/secrets/secrets.nix
@@ -20,6 +20,11 @@ in {
mode = "0440";
};
+ "gerrit/hooks.age" = {
+ publicKeys = all;
+ owner = "git";
+ };
+
"drone/secrets.age" = {
publicKeys = all;
owner = "drone";