feat(tvl-kit): Expose //tools/checks in tvl-kit

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>
This commit is contained in:
Vincent Ambo 2022-06-07 09:34:12 +00:00 committed by clbot
parent 8e8d6eb1df
commit d8583088b8
3 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@ tooling, currently comprising of:
corresponding to the physical layout of a repository. corresponding to the physical layout of a repository.
* `besadii`: Configurable Gerrit/Buildkite integration hook. * `besadii`: Configurable Gerrit/Buildkite integration hook.
* `magrathea`: Command-line tool for working with TVL-style monorepos * `magrathea`: Command-line tool for working with TVL-style monorepos
* `checks`: Collection of useful CI checks for Buildkite
It can be accessed via git by cloning it as such: It can be accessed via git by cloning it as such:

View file

@ -25,6 +25,7 @@ pkgs.lib.fix (self: {
depot.nix.readTree = self.readTree; depot.nix.readTree = self.readTree;
}; };
checks = import ./checks { inherit pkgs; };
lazy-deps = import ./lazy-deps { inherit pkgs; }; lazy-deps = import ./lazy-deps { inherit pkgs; };
magrathea = import ./magrathea { inherit pkgs; }; magrathea = import ./magrathea { inherit pkgs; };
readTree = import ./readTree { }; readTree = import ./readTree { };

View file

@ -11,3 +11,4 @@ besadii = :/ops/besadii
::sources/ ::sources/
] ]
magrathea = :/tools/magrathea magrathea = :/tools/magrathea
checks = :/tools/checks