From 61d2d2d50379e8e445255ec7863f1610ce984b26 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 27 Aug 2020 01:05:45 +0100 Subject: feat(ops/pipelines): Dynamically generate CI pipeline from targets Create the pipeline by outputting a file that contains nix-build invocations for each target's *derivation path*. Each invocation has a generated Nix expression passed to it with `-E` which fetches the correct target from the tree while correctly handling targets with strange characters (such as in Go-packages). This makes it possible to run target-level granular pipelines. We're getting somewhere! Change-Id: Ia6946e389dafd1d4926130bb8891446d6e17133b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1855 Tested-by: BuildkiteCI Reviewed-by: glittershark Reviewed-by: lukegb --- users/glittershark/system/home/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/glittershark/system/home') diff --git a/users/glittershark/system/home/default.nix b/users/glittershark/system/home/default.nix index d896ba340d59..a10e3f8dfc30 100644 --- a/users/glittershark/system/home/default.nix +++ b/users/glittershark/system/home/default.nix @@ -20,7 +20,7 @@ rec { lib.depot = depot; }; - }) // { __readTree = true; }; + }); chupacabra = home ./machines/chupacabra.nix; } -- cgit 1.4.1