about summary refs log tree commit diff
path: root/ops/machines/whitby
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T07·29+0300
committerVincent Ambo <mail@tazj.in>2021-12-10T07·32+0300
commit9ea4d55d81d61b6073e69bebdc614f9694d8223c (patch)
tree87194b2394d4d37c29cf880779894069b361042a /ops/machines/whitby
parenta123b9e0a2a575816bab5b717a1d62b1966ac0a2 (diff)
refactor(ops): Move buildkite-agent-token into agenix r/3176
Relates to b/161

Change-Id: I5d3a698d437928966d8b78ce9e0ba226c1437655
Diffstat (limited to 'ops/machines/whitby')
-rw-r--r--ops/machines/whitby/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix
index d6d3004ffc34..c066fa400fe3 100644
--- a/ops/machines/whitby/default.nix
+++ b/ops/machines/whitby/default.nix
@@ -210,6 +210,12 @@ in {
       clbot.file = secretFile "clbot";
       gerrit-queue.file = secretFile "gerrit-queue";
       owothia.file = secretFile "owothia";
+
+      buildkite-agent-token = {
+        file = secretFile "buildkite-agent-token";
+        mode = "0440";
+        group = "buildkite-agents";
+      };
     };
 
   # Automatically collect garbage from the Nix store.