-
Notifications
You must be signed in to change notification settings - Fork 74
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
Improve proxy support for install scripts #1432
Conversation
31c13c8
to
239fe19
Compare
Codecov Report
@@ Coverage Diff @@
## main #1432 +/- ##
==========================================
+ Coverage 47.54% 47.61% +0.06%
==========================================
Files 120 120
Lines 7163 7163
==========================================
+ Hits 3406 3411 +5
+ Misses 3622 3618 -4
+ Partials 135 134 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rthorn-nr I left a few comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving after verifying on linux and windows with proxy.
chore: Add proxy connection message to ps1 chore: Add connection check & proxy message to sh chore: Get proxy URL from env chore: Move file dl to try block; output err
dc948af
to
a12b670
Compare
For
install.sh
andinstall.ps1
, check for connectivity tohttps://download.newrelic.com
and provide a helpful message if unable to connect.For
install.ps1
, adds a proxy to the requestingWebClient
via the optional environment variableHTTPS_PROXY
, which will enable setting a proxy for the CLI download.