about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-03T22·54+0100
committertazjin <mail@tazj.in>2020-07-03T22·55+0000
commit096fa1063234fa25ee9d859f1595f6f69d9e1c39 (patch)
treea7c5a1b605bbfb85cf22fceb8bce9483e2ff91bf
parentcd45c04b114d417dd268b4e23e5c6440a37411f0 (diff)
chore(tazjin/frog): Remove Buildkite agent setup r/1201
Whitby is handling this now!

Change-Id: I342d0ad15e3b2c177f7251b01e884729141b99fd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/907
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: BuildkiteCI
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/nixos/frog/default.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix
index e384615a176e..4ff32ed10a25 100644
--- a/users/tazjin/nixos/frog/default.nix
+++ b/users/tazjin/nixos/frog/default.nix
@@ -12,13 +12,6 @@ config: let
   frogEmacs = (depot.users.tazjin.emacs.overrideEmacs(epkgs: epkgs ++ [
     depot.third_party.emacsPackages.google-c-style
   ]));
-
-  # All Buildkite hooks are actually besadii, but it's being invoked
-  # with different names.
-  buildkiteHooks = depot.third_party.runCommandNoCC "buildkite-hooks" {} ''
-    mkdir -p $out/bin
-    ln -s ${depot.ops.besadii}/bin/besadii $out/bin/post-command
-  '';
 in depot.lib.fix(self: {
   imports = [
     "${depot.depotPath}/ops/nixos/v4l2loopback.nix"
@@ -204,13 +197,6 @@ in depot.lib.fix(self: {
     };
   };
 
-  # Run a Buildkite agent for depot builds
-  services.buildkite-agents.frog = {
-    enable = true;
-    tokenPath = "/etc/secrets/buildkite-token";
-    hooks.post-command = "${buildkiteHooks}/bin/post-command";
-  };
-
   environment.systemPackages =
     # programs from the depot
     (with depot; [