terraform-providers.ibm: move to update-all script
This commit is contained in:
parent
bb858898b1
commit
20f55a9fc0
|
@ -440,6 +440,14 @@
|
||||||
version = "1.14.0";
|
version = "1.14.0";
|
||||||
sha256 = "10g5xl3pspzmj0bjzqbw3br4k7kh2jplph06f7sz2zg9dncl4h5z";
|
sha256 = "10g5xl3pspzmj0bjzqbw3br4k7kh2jplph06f7sz2zg9dncl4h5z";
|
||||||
};
|
};
|
||||||
|
ibm =
|
||||||
|
{
|
||||||
|
owner = "IBM-Cloud";
|
||||||
|
repo = "terraform-provider-ibm";
|
||||||
|
rev = "v1.4.0";
|
||||||
|
version = "1.4.0";
|
||||||
|
sha256 = "147vl55g6c49ihk8z2hwfq2v7g1yj35id1qfjlz0dxalm7cwa3l6";
|
||||||
|
};
|
||||||
icinga2 =
|
icinga2 =
|
||||||
{
|
{
|
||||||
owner = "terraform-providers";
|
owner = "terraform-providers";
|
||||||
|
|
|
@ -50,9 +50,10 @@ let
|
||||||
|
|
||||||
# These are the providers that don't fall in line with the default model
|
# These are the providers that don't fall in line with the default model
|
||||||
special-providers = {
|
special-providers = {
|
||||||
# Override the google providers
|
# Override providers that use Go modules + vendor/ folder
|
||||||
google = patchGoModVendor automated-providers.google;
|
google = patchGoModVendor automated-providers.google;
|
||||||
google-beta = patchGoModVendor automated-providers.google-beta;
|
google-beta = patchGoModVendor automated-providers.google-beta;
|
||||||
|
ibm = patchGoModVendor automated-providers.ibm;
|
||||||
|
|
||||||
# providers that were moved to the `hashicorp` organization,
|
# providers that were moved to the `hashicorp` organization,
|
||||||
# but haven't updated their references yet:
|
# but haven't updated their references yet:
|
||||||
|
@ -129,12 +130,12 @@ let
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
elasticsearch = callPackage ./elasticsearch {};
|
# Packages that don't fit the default model
|
||||||
|
ansible = callPackage ./ansible {};
|
||||||
gandi = callPackage ./gandi {};
|
gandi = callPackage ./gandi {};
|
||||||
ibm = callPackage ./ibm {};
|
elasticsearch = callPackage ./elasticsearch {};
|
||||||
libvirt = callPackage ./libvirt {};
|
libvirt = callPackage ./libvirt {};
|
||||||
lxd = callPackage ./lxd {};
|
lxd = callPackage ./lxd {};
|
||||||
ansible = callPackage ./ansible {};
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
automated-providers // special-providers
|
automated-providers // special-providers
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
||||||
|
|
||||||
#
|
|
||||||
# USAGE:
|
|
||||||
# install the following package globally or in nix-shell:
|
|
||||||
#
|
|
||||||
# (terraform.withPlugins ( plugins: [ terraform-provider-ibm ]))
|
|
||||||
#
|
|
||||||
# examples:
|
|
||||||
# https://github.com/IBM-Cloud/terraform-provider-ibm/tree/master/examples
|
|
||||||
#
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
|
||||||
pname = "terraform-provider-ibm";
|
|
||||||
version = "0.11.1";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/terraform-providers/terraform-provider-ibm";
|
|
||||||
subPackages = [ "./" ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "IBM-Cloud";
|
|
||||||
repo = "terraform-provider-ibm";
|
|
||||||
sha256 = "1vp1kzadfkacn6c4illxjra8yki1fx7h77b38fixkcvc79mzasmv";
|
|
||||||
rev = "v${version}";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Terraform allow checking the provider versions, but this breaks
|
|
||||||
# if the versions are not provided via file paths.
|
|
||||||
postBuild = "mv go/bin/terraform-provider-ibm{,_v${version}}";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/IBM-Cloud/terraform-provider-ibm";
|
|
||||||
description = "Terraform provider is used to manage IBM Cloud resources.";
|
|
||||||
platforms = platforms.all;
|
|
||||||
license = licenses.mpl20;
|
|
||||||
maintainers = with maintainers; [ jensbin ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -112,6 +112,7 @@ cd "$(dirname "$0")"
|
||||||
|
|
||||||
# individual repos to fetch
|
# individual repos to fetch
|
||||||
slugs=(
|
slugs=(
|
||||||
|
IBM-Cloud/terraform-provider-ibm
|
||||||
ajbosco/terraform-provider-segment
|
ajbosco/terraform-provider-segment
|
||||||
camptocamp/terraform-provider-pass
|
camptocamp/terraform-provider-pass
|
||||||
poseidon/terraform-provider-matchbox
|
poseidon/terraform-provider-matchbox
|
||||||
|
|
Loading…
Reference in New Issue