about summary refs log tree commit diff
path: root/ops/besadii/default.nix
blob: 0ce773c7b101cf2aacf65a6cd591fea74904592f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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);
  };
}