-
Notifications
You must be signed in to change notification settings - Fork 47
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
Respect no_proxy
settings next to the proxy settings.
#23
Comments
I've been checking to see if I can contribute, and wanted to discuss first about the direction😁. From what I can see, https-proxy-agent does not support the no_proxy settings 😞. That means we have two options:
Tagging @peter-murray for visibility. |
Option 1 is the quickest to deliver in this case, but seeing that we are reading the settings from the environment ti does present Option 2 as being a more consistent approach. If I was to do this, if you explicitly inject the proxy as an |
Good point. Then it's Option 3?
Or would you want do do both 3 and 2 then (sorry if this is getting confusing)? |
I originally liked the idea of loading it from the runner environment if it was set, as this keeps the workflows DRY, especially if you set it inside the workflow as a default instead of inside the runner itself. I think now that this has shipped we need support for the following:
This is achievable, just not as clean as I would like. |
After going around the bush a few times with this, I landed on the assumption that the @rajbos would you mind checking that the branch |
Works like a charm @peter-murray! I've tested:
Things work as expected with these combinations! Thanks for turning this around so quickly 🤗. |
* Adding support for no_proxy, fixes #23 * Updating actions steps to support Node 16 * Updating rest references due to changes in github-script * Adding logging for no_proxy usecases * Updating to new core libraries with output support changes * Consolidating API URL lookup for the action to a single location
With #21 there is now support for proxy settings, which do not adhere to the
no_proxy
settings, breaking in our setup where we set bothhttp_proxy
andno_proxy
.The text was updated successfully, but these errors were encountered: