about summary refs log tree commit diff
path: root/ops/buildkite/default.nix
blob: 0d39bc06010d285fbd64db84c954846e30cad90c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ depot, lib, pkgs, ... }:

depot.nix.readTree.drvTargets rec {
  terraform = pkgs.terraform.withPlugins (p: [
    p.buildkite
  ]);

  validate = depot.tools.checks.validateTerraform {
    inherit terraform;
    name = "buildkite";
    src = lib.cleanSource ./.;
    env.BUILDKITE_API_TOKEN = "ci-dummy";
  };
}