You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting the following error with the the .netrc file
0eef3165cdc: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information
I'm using the helm chart with .netrc enabled. It's correctly moved to the (root) home dir. When I run the go mod download github.com/myorg/[email protected] from the root home folder in the container it correctly downloads the file. But when it try it with the proxy it does not work. I have also set the GOPROXY and GONOSUM locally correct (downloading also works without the proxy).
So I got it working by setting the ‘GONOSUMDB’ environment variable in the container. I assumed ‘ ATHENS_GONOSUM_PATTERNS’ would be enough but apparently it is not. Also the documentation for client side is wrong when opening anthens (‘GONOSUM’ should be ‘GONOSUMDB’) I will make a pr next week to fix this.
Describe the bug
I'm getting the following error with the the .netrc file
I'm using the helm chart with .netrc enabled. It's correctly moved to the (root) home dir. When I run the
go mod download github.com/myorg/[email protected]
from the root home folder in the container it correctly downloads the file. But when it try it with the proxy it does not work. I have also set the GOPROXY and GONOSUM locally correct (downloading also works without the proxy).values.yaml:
To Reproduce
run go mod download
Expected behavior
It downloads the module
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: