You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
According to the documentation, we should use the -U / --upstream args to enable proxy support. However, after trying this and examining the implementation details, it seems that this switch doesn't work for a proxy that requires basic authentication, such as --upstream=http://alice:pass@proxy.com/ .Could you please let me know if I'm mistaken and if there's a way to use codecov_uploader with a proxy that requires authentication?
also, as we see from the code, ProxyAgent from undici is used for the call, and it seems that "auth mode" is not supported for string argument passed by uploader.
Is your feature request related to a problem? Please describe.
According to the documentation, we should use the -U / --upstream args to enable proxy support. However, after trying this and examining the implementation details, it seems that this switch doesn't work for a proxy that requires basic authentication, such as --upstream=http://alice:pass@proxy.com/ .Could you please let me know if I'm mistaken and if there's a way to use codecov_uploader with a proxy that requires authentication?
also, as we see from the code,
ProxyAgent
fromundici
is used for the call, and it seems that "auth mode" is not supported for string argument passed by uploader.This works:
"codecov_uploader -r ${repo} -C ${revision} -u ${server} / -f /coverage.xml -X network -F ${test_name}"
But this doesn't work:
"codecov_uploader --upstream http://user:pass@private_proxy.com/ -r ${repo} -C ${revision} -u ${server} -f coverage.xml -X network -F ${test_name}"
Describe the solution you'd like
A way to pass proxy credential to the uploader
Additional context
Opened on behalf of a customer
The text was updated successfully, but these errors were encountered: