-
Notifications
You must be signed in to change notification settings - Fork 1.1k
how to connect to a TFS git repo? #1152
Comments
Using git+ssh with any server is supported, but it needs a bit of extra work if it's not github.com, gitlab.com or bitbucket.com. Have a look at https://github.com/weaveworks/flux/blob/1a399296bb4c63c5f2121e5f2f5f8d3778b072a7/site/standalone/setup.md#using-a-private-git-host (sorry, it's still in a PR!), which explains what needs to be done. (when it refers to the example deployment, that means https://github.com/weaveworks/flux/blob/1a399296bb4c63c5f2121e5f2f5f8d3778b072a7/deploy/flux-deployment.yaml). |
Thank you, I'm going to have a try, I'll let you know. |
i still think that flux is not accepting the tfs git url (that is way different from the ones used in examples because deploying flux pointing to a git url like this, $GITHOST and $GITREPO are blank (or have i missed something?)
Thank you for any help |
|
Hi @squaremo
I've added commands to mount configmap in flux deploy yaml and now i see the corret configmap in the namespace of flux but I still getting
any ideas ? Thank you |
Hi @squaremo , |
Aha, so you were able to clone from within the container, that's progress! The log messages are a little mysterious, aren't they -- #1171 will put more info in them, so it's easier to diagnose problems. In the meantime: fluxd wants to have write access to the repo -- you could check that in the container shell by trying to push a tag:
If this fails, it may mean that the SSH key you've installed in TFS doesn't have write permissions. |
@mrmojo666 I'm going to close this, just to take it off the radar. If you didn't get it to work (and you're still interested in getting it to work!), please feel free to re-open the issue. |
I've tried to use flux aganist a TFS git repo:
but i always get : component=sync-loop error="getting unlocked automated services: git repo not ready"
the ssh git link provided by tfs is something like that ssh://url:22/tfs/collectionname/teamname/_git/reponame
Is flux working only with github ?
Thank you
The text was updated successfully, but these errors were encountered: