{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments/33441476","id":33441476,"diff_hunk":"@@ -0,0 +1,20 @@\n+[Unit]\n+Description=Docker registry sidekick\n+PartOf=registry.service\n+After=registry.service\n+\n+[Service]\n+ExecStart=/bin/sh -c \"\\\n+  etcdctl set /skydns/local/skydns/registry '{\"host\":\"127.0.0.1\"}'; \\\n+  etcdctl set /vulcand/backends/repo-mirror/backend '{\\\"Type\\\": \\\"http\\\"}'; \\\n+  etcdctl set /vulcand/frontends/repo-mirror/frontend '{\\\"Type\\\": \\\"http\\\", \\\"BackendId\\\": \\\"docker-registry\\\", \\\"Route\\\": \\\"Host(`registry.skydns.local`)\\\"}'; \\\n+  etcdctl setdir /vulcand/backends/docker-registry/servers --ttl 60; \\","path":"service-files/registry-sidekick.service","position":11,"original_position":11,"commit_id":"f775c218829d1919e1c6d71a7104e933a44d93ca","original_commit_id":"f775c218829d1919e1c6d71a7104e933a44d93ca","user":{"login":"martingartonft","id":5197575,"avatar_url":"https://avatars.githubusercontent.com/u/5197575?v=3","gravatar_id":"","url":"https://api.github.com/users/martingartonft","html_url":"https://github.com/martingartonft","followers_url":"https://api.github.com/users/martingartonft/followers","following_url":"https://api.github.com/users/martingartonft/following{/other_user}","gists_url":"https://api.github.com/users/martingartonft/gists{/gist_id}","starred_url":"https://api.github.com/users/martingartonft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingartonft/subscriptions","organizations_url":"https://api.github.com/users/martingartonft/orgs","repos_url":"https://api.github.com/users/martingartonft/repos","events_url":"https://api.github.com/users/martingartonft/events{/privacy}","received_events_url":"https://api.github.com/users/martingartonft/received_events","type":"User","site_admin":false},"body":"no ttl needed here I think.","created_at":"2015-06-29T08:04:17Z","updated_at":"2015-06-29T08:04:17Z","html_url":"https://github.com/Financial-Times/up-service-files/pull/12#discussion_r33441476","pull_request_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments/33441476"},"html":{"href":"https://github.com/Financial-Times/up-service-files/pull/12#discussion_r33441476"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12","id":38746150,"html_url":"https://github.com/Financial-Times/up-service-files/pull/12","diff_url":"https://github.com/Financial-Times/up-service-files/pull/12.diff","patch_url":"https://github.com/Financial-Times/up-service-files/pull/12.patch","issue_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/12","number":12,"state":"open","locked":false,"title":"Registry","user":{"login":"Zapadlo","id":1801067,"avatar_url":"https://avatars.githubusercontent.com/u/1801067?v=3","gravatar_id":"","url":"https://api.github.com/users/Zapadlo","html_url":"https://github.com/Zapadlo","followers_url":"https://api.github.com/users/Zapadlo/followers","following_url":"https://api.github.com/users/Zapadlo/following{/other_user}","gists_url":"https://api.github.com/users/Zapadlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zapadlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zapadlo/subscriptions","organizations_url":"https://api.github.com/users/Zapadlo/orgs","repos_url":"https://api.github.com/users/Zapadlo/repos","events_url":"https://api.github.com/users/Zapadlo/events{/privacy}","received_events_url":"https://api.github.com/users/Zapadlo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-29T06:58:53Z","updated_at":"2015-06-29T08:04:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dd2a3c28d8788c58709189788a77376e7d5eebc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/12/comments","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/f775c218829d1919e1c6d71a7104e933a44d93ca","head":{"label":"Financial-Times:registry","ref":"registry","sha":"f775c218829d1919e1c6d71a7104e933a44d93ca","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":36799074,"name":"up-service-files","full_name":"Financial-Times/up-service-files","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/up-service-files","description":"Contains the fleets service files","fork":false,"url":"https://api.github.com/repos/Financial-Times/up-service-files","forks_url":"https://api.github.com/repos/Financial-Times/up-service-files/forks","keys_url":"https://api.github.com/repos/Financial-Times/up-service-files/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/up-service-files/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/up-service-files/teams","hooks_url":"https://api.github.com/repos/Financial-Times/up-service-files/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/up-service-files/events","assignees_url":"https://api.github.com/repos/Financial-Times/up-service-files/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/up-service-files/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/tags","blobs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/up-service-files/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/up-service-files/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/up-service-files/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscription","commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/up-service-files/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/up-service-files/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/up-service-files/merges","archive_url":"https://api.github.com/repos/Financial-Times/up-service-files/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/up-service-files/downloads","issues_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/up-service-files/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/up-service-files/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/up-service-files/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/up-service-files/releases{/id}","created_at":"2015-06-03T11:23:15Z","updated_at":"2015-06-08T11:36:43Z","pushed_at":"2015-06-29T06:58:53Z","git_url":"git://github.com/Financial-Times/up-service-files.git","ssh_url":"git@github.com:Financial-Times/up-service-files.git","clone_url":"https://github.com/Financial-Times/up-service-files.git","svn_url":"https://github.com/Financial-Times/up-service-files","homepage":null,"size":388,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"4f7a71731860d2b287227618497d441fccf88237","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":36799074,"name":"up-service-files","full_name":"Financial-Times/up-service-files","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/up-service-files","description":"Contains the fleets service files","fork":false,"url":"https://api.github.com/repos/Financial-Times/up-service-files","forks_url":"https://api.github.com/repos/Financial-Times/up-service-files/forks","keys_url":"https://api.github.com/repos/Financial-Times/up-service-files/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/up-service-files/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/up-service-files/teams","hooks_url":"https://api.github.com/repos/Financial-Times/up-service-files/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/up-service-files/events","assignees_url":"https://api.github.com/repos/Financial-Times/up-service-files/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/up-service-files/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/tags","blobs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/up-service-files/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/up-service-files/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/up-service-files/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscription","commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/up-service-files/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/up-service-files/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/up-service-files/merges","archive_url":"https://api.github.com/repos/Financial-Times/up-service-files/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/up-service-files/downloads","issues_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/up-service-files/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/up-service-files/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/up-service-files/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/up-service-files/releases{/id}","created_at":"2015-06-03T11:23:15Z","updated_at":"2015-06-08T11:36:43Z","pushed_at":"2015-06-29T06:58:53Z","git_url":"git://github.com/Financial-Times/up-service-files.git","ssh_url":"git@github.com:Financial-Times/up-service-files.git","clone_url":"https://github.com/Financial-Times/up-service-files.git","svn_url":"https://github.com/Financial-Times/up-service-files","homepage":null,"size":388,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12"},"html":{"href":"https://github.com/Financial-Times/up-service-files/pull/12"},"issue":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/issues/12"},"comments":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/f775c218829d1919e1c6d71a7104e933a44d93ca"}}}}