2022-06-04 01:15:13 +02:00
|
|
|
{ depot, lib, pkgs, ... }:
|
2021-12-24 17:23:08 +01:00
|
|
|
|
2022-06-04 01:15:13 +02:00
|
|
|
depot.nix.readTree.drvTargets rec {
|
2021-12-24 17:23:08 +01:00
|
|
|
# Provide a Terraform wrapper with the right provider installed.
|
|
|
|
terraform = pkgs.terraform.withPlugins (_: [
|
|
|
|
depot.third_party.terraform-provider-glesys
|
|
|
|
]);
|
2022-06-04 01:15:13 +02:00
|
|
|
|
2022-06-06 23:28:11 +02:00
|
|
|
validate = depot.tools.checks.validateTerraform {
|
|
|
|
inherit terraform;
|
|
|
|
name = "glesys";
|
|
|
|
src = lib.cleanSource ./.;
|
|
|
|
env.GLESYS_TOKEN = "ci-dummy";
|
|
|
|
};
|
2021-12-24 17:23:08 +01:00
|
|
|
}
|