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
The gomod source generator currently has no way to handle authz/n for git repos of dependencies. The generator will fail if there is a private module in the dependency graph. Here is an example of what happens:
> Fetch go module dependencies for source: aksbuilder:
11.84 go: go.goms.io/aks/[email protected]: reading go.goms.io/aks/infrasrvrpc/go.mod at revision v0.4.0: git ls-remote -q origin in /go/pkg/mod/cache/vcs/9451610b4f4ac4ba7febaab0564cf98141ea2b4bc163ce7937a9b0f327ffa0a5: exit status 128:
11.84 fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled
11.84 Confirm the import path was entered correctly.
11.84 If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
------
ERROR: failed to solve: process "sh -c go mod download" did not complete successfully: exit code: 1
According to an earlier discussion, this can be handled with build secrets. They will need to be wired up to the container in which the gomod generator is run.
Are you willing to submit PRs to contribute to this feature request?
Yes, I am willing to implement it.
The text was updated successfully, but these errors were encountered:
What kind of request is this?
None
What is your request or suggestion?
The
gomod
source generator currently has no way to handle authz/n for git repos of dependencies. The generator will fail if there is a private module in the dependency graph. Here is an example of what happens:According to an earlier discussion, this can be handled with build secrets. They will need to be wired up to the container in which the
gomod
generator is run.Are you willing to submit PRs to contribute to this feature request?
The text was updated successfully, but these errors were encountered: