f7687b1ea7
Adds a lot more information about what is actually going on here, as well as links to relevant things such as our Monorepo document. I'm aware that I didn't make all `//...` links clickable, but I realised at some point that it might be easier to just update cheddar to support highlighting those natively :-) Change-Id: Icbb212a6c07a5cf38ab8e65d83a64bec783eb8d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1768 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: kanepyork <rikingcoding@gmail.com>
14 lines
377 B
Nix
14 lines
377 B
Nix
# This program is used as a Gerrit hook to trigger builds on
|
|
# Buildkite, Sourcegraph reindexing and other maintenance tasks.
|
|
{ ciBuilds, depot, ... }:
|
|
|
|
let
|
|
inherit (builtins) toFile toJSON;
|
|
in depot.nix.buildTypedGo.program {
|
|
name = "besadii";
|
|
srcs = [ ./main.go2 ];
|
|
|
|
x_defs = {
|
|
"main.TargetList" = toFile "ci-targets.json" (toJSON ciBuilds.__evaluatable);
|
|
};
|
|
}
|