From e1146601c117ab398bd85311c8cdfd6ec51a7fa5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 18 Jan 2022 18:33:05 +0300 Subject: feat(kit): Export TVL kit as a josh workspace This creates a josh workspace called `views/kit` which exports all dependencies needed by external users of the TVL kit. The intention of this is to have a single clonable "virtual repo" which provides everything needed to run a system like TVL, but without the projects that we develop *in* TVL. Right now this is limited to the basic Nix code (readTree, pipeline generation) and things required for Gerrit integration. The workspace maps depot paths into slightly different (simpler) locations inside the exported view, to avoid a nested, mostly empty structure. Note: This is not an "external API" or some such of depot, it is simply a convenience for exporting some of our tooling. Change-Id: Ied24aaef117fc2e0c188ec742ae7cd993a5babd3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4991 Tested-by: BuildkiteCI Reviewed-by: sterni --- views/kit/workspace.josh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 views/kit/workspace.josh (limited to 'views/kit/workspace.josh') diff --git a/views/kit/workspace.josh b/views/kit/workspace.josh new file mode 100644 index 000000000000..33ca3e22e611 --- /dev/null +++ b/views/kit/workspace.josh @@ -0,0 +1,8 @@ +::LICENSE +besadii = :/ops/besadii +:/nix:[ + ::buildGo/ + ::buildkite/ + ::readTree/ +] +nixpkgs = :/third_party/nixpkgs -- cgit 1.4.1