Skip to content
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

self-hosted agent behind the proxy #700

Open
chenghuang-mdsol opened this issue Apr 22, 2022 · 1 comment
Open

self-hosted agent behind the proxy #700

chenghuang-mdsol opened this issue Apr 22, 2022 · 1 comment

Comments

@chenghuang-mdsol
Copy link

chenghuang-mdsol commented Apr 22, 2022

The action is not working for self-host agents behind the proxy (setup by https://docs.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners)
This is because

https.get(getBaseUrl(platform, uploaderVersion), (res) => {

http.get doesn't use http_proxy / https_proxy env vars.
Can you change it to some http-client which respects these 2 env vars? (e.g. https://github.com/actions/http-client)

@yasuto-nishii
Copy link

yasuto-nishii commented May 24, 2022

uploader have an option to specify proxy but the action do not have.
So, I'm still using codecov-uploader directly with my self-hosted runner.

-U, --upstream | The upstream http proxy server to connect through[string] [default: ""]

https://docs.codecov.com/docs/codecov-uploader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants