New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform-providers: handle go modules #104667
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgs/applications/networking/cluster/terraform-providers/update-provider
Show resolved
Hide resolved
pkgs/applications/networking/cluster/terraform-providers/update-provider
Show resolved
Hide resolved
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
zimbatm
force-pushed
the
terraform-providers-modules
branch
3 times, most recently
from
November 23, 2020 13:45
48381ab
to
099a787
Compare
Result of 8 packages built:
|
lblasc
reviewed
Nov 23, 2020
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
Duplicate of #103822 |
10 tasks
10 tasks
timstott
reviewed
Nov 24, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some recommendations based on similar work I did 😉
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
More and more terraform providers are switching from vendored dependencies to Go modules. Let's say that you update the "aws" provider and it fails. You can run it again with: ./update-provider aws --vendor Any package that has the "vendorSha256" key will be considered as a go module package. The script now also supports adding new providers by using the <owner>/<repo> format. Eg: ./update-provider hetznercloud/hcloud --vendor
zimbatm
force-pushed
the
terraform-providers-modules
branch
from
November 28, 2020 22:24
a38e61b
to
4f812f1
Compare
ofborg
bot
added
10.rebuild-darwin: 0
10.rebuild-linux: 0
and removed
10.rebuild-darwin: 1-10
10.rebuild-linux: 1-10
labels
Nov 28, 2020
zimbatm
force-pushed
the
terraform-providers-modules
branch
from
November 28, 2020 22:41
18b2fba
to
32c38e2
Compare
timstott
reviewed
Dec 1, 2020
pkgs/applications/networking/cluster/terraform-providers/update-provider
Outdated
Show resolved
Hide resolved
anandsuresh
pushed a commit
to anandsuresh/nixpkgs
that referenced
this pull request
Jan 27, 2021
* terraform-providers: handle go modules More and more terraform providers are switching from vendored dependencies to Go modules. Let's say that you update the "aws" provider and it fails. You can run it again with: ./update-provider aws --vendor Any package that has the "vendorSha256" key will be considered as a go module package. The script now also supports adding new providers by using the <owner>/<repo> format. Eg: ./update-provider hetznercloud/hcloud --vendor * address comment Fixes NixOS#104667 (comment) * support the null use-case * escape provider name as well * fix typo (cherry picked from commit 5851c31)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
terraform-providers: handle go modules
More and more terraform providers are switching from vendored
dependencies to Go modules.
Let's say that you update the "aws" provider and it fails. You can run
it again with:
Any package that has the "vendorSha256" key will be considered as a go
module package.
The script now also supports adding new providers by using the
/ format. Eg:
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)