ci: Respect $HTTP_PROXY for ci_run_n_monitor
We need to explicitly tell AIOHTTP that it's OK to take the HTTP proxy from the environment. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23341>
This commit is contained in:
@@ -52,7 +52,8 @@ class GitlabGQL:
|
||||
headers = {}
|
||||
if self.token:
|
||||
headers["Authorization"] = f"Bearer {self.token}"
|
||||
self._transport = AIOHTTPTransport(url=self.url, headers=headers)
|
||||
self._transport = AIOHTTPTransport(
|
||||
url=self.url, headers=headers, client_session_args = { "trust_env": True })
|
||||
|
||||
# Create a GraphQL client using the defined transport
|
||||
self.client = Client(
|
||||
|
Reference in New Issue
Block a user