From 68f1cf5b1e8ac39c842d7e5216158cee37aacdcc Mon Sep 17 00:00:00 2001 From: Christopher Tran Date: Thu, 24 Oct 2024 15:19:58 -0400 Subject: [PATCH] Passthrough proxy variables to ansible-test environment --- test/lib/ansible_test/_internal/util.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/lib/ansible_test/_internal/util.py b/test/lib/ansible_test/_internal/util.py index b83f3d5db78..468af5de4cb 100644 --- a/test/lib/ansible_test/_internal/util.py +++ b/test/lib/ansible_test/_internal/util.py @@ -692,6 +692,12 @@ def common_environment() -> dict[str, str]: # export CFLAGS="-I$(brew --prefix openssl)/include/ -I$(brew --prefix libyaml)/include/" 'LDFLAGS', 'CFLAGS', + 'HTTP_PROXY', + 'HTTPS_PROXY', + 'NO_PROXY', + 'http_proxy', + 'https_proxy', + 'no_proxy', ) # FreeBSD Compatibility