-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unable to clone Azure DevOps repo #286
Comments
This seems to be an issue with go-git. We should consider wrapping go-git with an optional flag to shell out to git in such situations? |
Hi, we are also struggling with the same issue. It seems there is no progress in git-go (see go-git/go-git#64). |
Or falling back to, or allowing configuration of, an alternative like |
If you can rely on If you do decide to incorporate libgit2, you may benefit from examining the work Hidde has done recently to make builds more repeatable: fluxcd/source-controller#437 and links therein. |
This would be super-helpful for us at the moment! |
Is this issue going to be fixed? I have the same issue on my setup with pulumi kubernetes operator and azure devops |
We would also love to use the Kubernetes Operator with Azure DevOps repos so any update would be great. Thanks |
Quite likely that this should be addressed via implementing #158 so that we can more deeply support scenarios already handled by Flux (including this one, but also many more). |
@lukehoban That makes sense. I'll remove it from the Platform board then, as I understand we have other folks looking into it. Let me know if I'm wrong. |
Is there maybe also a possibility to update the git library to fix that issue. I don't want to install all flux dependencies on the cluster just to be able to use azure devops as my git repo. Since I'm already use argocd as gitops tool. |
Possibly. This PR, included in go-git v5.5.0, makes it possible to clone from Azure DevOps. If that's updated in the upstream (pulumi/pulumi) with the extra adaptations as given in the example, it may fix the problem here. |
I posted a fix in the automation API (pulumi/pulumi#12001), which was released, then updated the operator to use an automation API release with the fix (#412). This should be usable in the next release of the operator. |
Expected behavior
Repository is cloned
Current behavior
"error": "failed to create local workspace: failed to create workspace, unable to enlist in git repo: unable to clone repo: empty git-upload-pack given"
Steps to reproduce
kubectl apply
Context (Environment)
Using Image
pulumi/pulumi-kubernetes-operator:v0.0.8
Kubernetes v1.19.7
Affected feature
References
Looks like an issue in the git library
Related issues:
fluxcd/flux#1224
src-d/go-git#1058
go-git/go-git#200
fluxcd/source-controller#213
argoproj/argo-cd#1067
The text was updated successfully, but these errors were encountered: