chore(tazjin/frog): Remove Buildkite agent setup

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
This commit is contained in:
Vincent Ambo 2020-07-03 23:54:18 +01:00 committed by tazjin
parent cd45c04b11
commit 096fa10632

View file

@ -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; [