-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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: add plugins tests #47861
terraform: add plugins tests #47861
Conversation
I wasn't sure if the plugins were downloaded from the Internet or not. This makes sure that there is no regression in the plugin detection.
Success on aarch64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: terraform Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: terraform Partial log (click to expand)
|
# Tests that the plugins are being used. Terraform looks at the specific | ||
# file pattern and if the plugin is not found it will try to download it | ||
# from the Internet. With sandboxing enable this test will fail if that is | ||
# the case. |
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.
export HTTP_PROXY=http://127.0.0.1:0 HTTPS_PROXY=https://127.0.0.1:0
might also make it work without relying on the sandbox.
But maybe the current solution is already good enough.
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.
sounds good, added
Success on aarch64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: terraform Partial log (click to expand)
|
I wasn't sure if the plugins were downloaded from the Internet or not.
This makes sure that there is no regression in the plugin detection.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)