go get -t ./... fails for private GitLab subgroup modules — cannot update go.sum #44338
Unanswered
thespags
asked this question in
Request Help
Replies: 1 comment
-
|
There's probably a way in the renovate config to do this but I ended up writing this into my cronjob and it worked |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self Hosted Argo App
Which platform you running Renovate on?
Gitlab/ArgoCD
Which version of Renovate are you using?
46.213.0
Please tell us more about your question or problem
Problem
I'm running self-hosted Renovate to update Go dependencies in a private GitLab repo. Updating go.mod works correctly. Renovate creates the MR with the right version bumps. However, Renovate's artifact update step (go get -t ./...) fails, leaving go.sum out of date.
Go is reporting a https://gitlab.com/myorg/devx.git error, which is a GitLab group, not a repository. The correct repo is at gitlab.com/myorg/devx/gitlab. I'm guessing this happens because Go's request to find the repository isn't authenticated so Go falls back to guessing the path and guesses wrong.
The token is from a Service account
Config
I've tried adding to no effect.
Question
Am I missing something in my host rules or configuration in general that I'm getting the error?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions