2022-06-04 01:14:07 +02:00
|
|
|
{ depot, lib, pkgs, ... }:
|
2022-06-04 00:40:40 +02:00
|
|
|
|
2022-06-04 01:14:07 +02:00
|
|
|
depot.nix.readTree.drvTargets rec {
|
2022-06-04 00:40:40 +02:00
|
|
|
terraform = pkgs.terraform.withPlugins (p: [
|
|
|
|
p.buildkite
|
|
|
|
]);
|
2022-06-04 01:14:07 +02:00
|
|
|
|
2022-06-06 23:24:53 +02:00
|
|
|
validate = depot.tools.checks.validateTerraform {
|
|
|
|
inherit terraform;
|
|
|
|
name = "buildkite";
|
|
|
|
src = lib.cleanSource ./.;
|
|
|
|
env.BUILDKITE_API_TOKEN = "ci-dummy";
|
|
|
|
};
|
2022-06-04 00:40:40 +02:00
|
|
|
}
|