bump terraform providers - #83279
bump terraform providers#83279
Conversation
|
There seems to be something wrong with the vendored libraries I guess? |
|
When checking out and building the provider manually, there seems to be some differing behaviour: (fails) (succeeds) |
05f599b to
beb2c00
Compare
|
I opened a support ticket at GitHub about the fact that some repositories are missing from the API: to reproduce, look for Or if you want to go fancy, GraphQL: |
|
Alright, already heard back. That was quick! :-) Turns out, these repos have been moved to the |
beb2c00 to
5ef47a2
Compare
|
I pushed a new version, that uses This required some refactoring, but now we should have back all terraform providers and not run into GitHubs ratelimiting, as we're not generating a HTTP request for each provider. PTAL. |
6a1550f to
3123e88
Compare
42c7d97 to
af94137
Compare
af94137 to
bdbb2a7
Compare
|
I bumped the terraform providers once more, now including the fix for hashicorp/terraform-provider-google#5970. |
bdbb2a7 to
c683e86
Compare
|
Some providers that were moved to the |
Some terraform providers were moved to the `hashicorp` organization, some are still in the `terraform-providers` organization. GitHub doesn't show moved repositories when querying via the API (only on the web interface). In addition, if there are more than 100 results (there still are), we'd need to implement paging, which is cubersome in curl. In addition to that, to look up tags, we used to creating a HTTP request for each and every provider, which caused us to easily get blocked by GitHubs rate-limiting. Instead of all that, let's use `hub` (which implements paging) and the GitHub's GraphQL endpoint to get a list all repositories for a given organization AND the latest tag for each of them. We post-process the output with `jq`. This also removes the providers.txt and folds the data into the script. The blacklist was becoming too annoying to handle as a config file. For the whitelist, we still need to individually fetch tags. Fixes NixOS#83215 Co-Authored-By: zimbatm <zimbatm@zimbatm.com>
c683e86 to
3090ef7
Compare
3090ef7 to
9f270c6
Compare
|
@GrahamcOfBorg build terraform-full terraform_0_11-full |
Motivation for this change
This updates the terraform provider update script (thanks @zimbatm for helping out here), and updates all providers.
I haven't finished rebuilding all providers yet.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)