about summary refs log tree commit diff
path: root/views/kit/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-18 r/7956 fix(views/kit): include dependency-analyzersterni1-1/+9
Since cl/11116, //nix/buildkite needs dependency-analyzer as an input. Change-Id: I2d924d6648b4ebf39388d8142a99496ef854d0c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11451 Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Tested-by: BuildkiteCI
2023-06-11 r/6265 fix(views/kit): provide `lib` argument to lazy-depsVincent Ambo1-1/+4
Change-Id: I6687bda77a3160b922156de9045d5f8565be0a61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8744 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: flokli <flokli@flokli.de>
2023-03-03 r/5873 fix(views/kit): allow setting localSystem when using tvl-kitFlorian Klink1-1/+2
Because the passing around of externalArgs only happened in the readTree instantiation in the repo root default.nix, but not in views/kit/ default.nix, it was not possible to get tvl-kit to instantiate the bundled nixpkgs with a custom system. This fixes invocations like ``` tvl-kit = import (sources.tvl-kit) { localSystem = "aarch64-linux"; }; ``` Change-Id: I3a633e4d695d266459400ba74fc0693ecc5bfb54 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8197 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-07 r/4228 feat(tvl-kit): Expose //tools/checks in tvl-kitVincent Ambo1-0/+1
This makes CI utility functions available in TVL kit. For now this is only the Terraform check, but said check has come up in other repos before so it's useful to centralise here (and we might add more!) Change-Id: I18acb19fc3407650ab9bad53dfba022dda498c07 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5858 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: asmundo <asmundo@gmail.com>
2022-05-02 r/3998 feat(tvl-kit): Expose lazy-depsVincent Ambo1-5/+6
This adds the //nix/lazy-deps tool at //lazy-deps in tvl-kit. A CI step is added for the kit that uses this to lazily build an example tool (magrathea). Change-Id: Ibd6d69c83b87bd6e0766942d73297621f2593113 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5514 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-02-14 r/3821 feat(tvl-kit): add magrathea to TVL kitVincent Ambo1-0/+2
this tool is generically useful for other TVL-like setups Change-Id: I182259a7ddb61b4ebdce98ef7893a0ac58a6baec Reviewed-on: https://cl.tvl.fyi/c/depot/+/5271 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-02-07 r/3774 refactor(nix): Move `mkLabel` from buildkite to readTreeVincent Ambo1-1/+5
This function is more generically useful than just for pipeline construction. A subsequent commit will use it inside of readTree itself. Change-Id: I5eabd6f659726484667e060958865dddbc205762 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5237 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3744 fix(views/kit): Export niv-pinned source hashesVincent Ambo1-1/+6
These are required for standalone imports of the kit now. Change-Id: Ie3c7218a606b1ba9cf274bb80b314a7889d8ede9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5189 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-01-31 r/3723 style: format entire depot with nixpkgs-fmtVincent Ambo1-1/+1
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
2022-01-19 r/3632 feat(kit): Export TVL kit as a josh workspaceVincent Ambo1-0/+19
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 <sternenseemann@systemli.org>