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
osc start-build doesn't work under http(s) proxy
#3395
Comments
So, it seems that setting |
|
as mentioned in the email thread, looks like this needs to be lower case: |
|
actually that may not fix it since the env variable is not available in the container performing the clone operation. |
|
@mfojtik @soltysh fyi. we might need to add HTTP* and http* to the whitelist of env variables we allow to be set on the builder pod: https://github.com/openshift/origin/blob/master/pkg/build/controller/strategy/util.go#L20 |
git cloneexecuted here git.go#L80 doesn't load http(s) proxy setting.git clone under the proxy needs proxy setting by running
git config --global http.proxy http://proxy.example.com:8080beforegit cloneThe text was updated successfully, but these errors were encountered: