Skip to content

Merge internal and external (user defined) no_proxy#4263

Merged
PeterSchafer merged 1 commit intomasterfrom
fix/HMMR-627_restore_system_proxy
Dec 29, 2022
Merged

Merge internal and external (user defined) no_proxy#4263
PeterSchafer merged 1 commit intomasterfrom
fix/HMMR-627_restore_system_proxy

Conversation

@PeterSchafer
Copy link
Contributor

What does this PR do?

  • merging internal and external defined no_proxy environment variables ensures that externally specified settings are preserved internally.
  • Update snyk-docker-plugin that supports restoring system proxy settings

Where should the reviewer start?

internal/cliv2/cliv2.go

How should this be manually tested?

  • Specify NO_PROXY=localhost,googleapis.com,somethingelse
  • Run the clli with -d, check the new logging that should contain the user defined as well as internal no_proxy settings
    2022/12/28 15:52:31.349900 legacycli:1 - NO_PROXY = localhost,127.0.0.1,::1,googleapis.com,somethingelse

Any background context you want to provide?

For example when running remote docker in circleci, the external NO_PROXY configuration ensures that no traffic is being routed through any proxy.

@PeterSchafer PeterSchafer requested a review from a team as a code owner December 28, 2022 19:00
* improve logging
* cleanup unused utils
* update application framework
* update snyk-docker-plugin
@PeterSchafer PeterSchafer force-pushed the fix/HMMR-627_restore_system_proxy branch from 6d15163 to e92b1ae Compare December 29, 2022 12:29
@PeterSchafer PeterSchafer merged commit e929b03 into master Dec 29, 2022
@PeterSchafer PeterSchafer deleted the fix/HMMR-627_restore_system_proxy branch December 29, 2022 15:41
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

Successfully merging this pull request may close these issues.

2 participants