Skip to content
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

Local protocol #158

Closed
CodingTink opened this issue Sep 8, 2017 · 1 comment
Closed

Local protocol #158

CodingTink opened this issue Sep 8, 2017 · 1 comment

Comments

@CodingTink
Copy link

Hi,
I'm habving trouble setting up git2consul with a local repo. No errors, but the files aren't mirrored to Consul. Works fine with ssh protocol though. Am I missing something here?
{
"version": "1.0",
"repos" : [{
"name" : "myrepo",
"expand_keys_diff": true,
"url" : "/data/git/myrepo",
"branches" : ["master"],
"hooks" : [{
"type" : "polling",
"interval" : 1
}]
}]
}

{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"Adding /etc/git2consul.d/config.json to KV git2consul/config as: \n{\n "version": "1.0",\n "repos" : [{\n\t"name" : "myrepo",\n "expand_keys_diff": true,\n "url" : "/data/git/myrepo",\n "branches" : ["master"],\n "hooks" : [{\n "type" : "polling",\n "interval" : 1\n }]\n }]\n}\n","time":"2017-09-08T07:49:23.339Z","v":0}
{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"git2consul is running","time":"2017-09-08T07:49:23.470Z","v":0}
{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"Initting repo myrepo","time":"2017-09-08T07:49:23.472Z","v":0}
{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"Initting branch /tmp/myrepo /tmp/myrepo/master","time":"2017-09-08T07:49:23.472Z","v":0}
{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"Initialized branch master from myrepo","time":"2017-09-08T07:49:23.584Z","v":0}
{"name":"git2consul","hostname":"431a91b7e519","pid":15849,"level":30,"msg":"Loaded repo myrepo","time":"2017-09-08T07:49:23.584Z","v":0}

@marcindulak
Copy link

Works for me #175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants