From 7f703913edd6ca53703a8b3b2fba79ab09890683 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 27 Jun 2020 16:39:58 +0100 Subject: feat(tazjin/frog): Enable Buildkite agent While we get our actual CI system up-and-running (i.e. while we're waiting for Hetzner to provision a machine), Frog can serve as a build host (whenever it's online, anyways). Change-Id: I917a8dbe92c499c607ead179a58bc59c105abd3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/626 Reviewed-by: tazjin --- users/tazjin/nixos/frog/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix index 991abcbec4b1..f3e75a2420ec 100644 --- a/users/tazjin/nixos/frog/default.nix +++ b/users/tazjin/nixos/frog/default.nix @@ -194,6 +194,12 @@ in depot.lib.fix(self: { }; }; + # Run a Buildkite agent for depot builds + services.buildkite-agents.frog = { + enable = true; + tokenPath = "/etc/secrets/buildkite-token"; + }; + environment.systemPackages = # programs from the depot (with depot; [ -- cgit 1.4.1