{"action":"opened","number":75,"pull_request":{"url":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75","id":28060114,"html_url":"https://github.com/QubitProducts/bamboo/pull/75","diff_url":"https://github.com/QubitProducts/bamboo/pull/75.diff","patch_url":"https://github.com/QubitProducts/bamboo/pull/75.patch","issue_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/75","number":75,"state":"open","locked":false,"title":"Use container $HOST environment variable as BAMBOO_ENDPOINT if AUTO_BAMB...","user":{"login":"albertsj1","id":141736,"avatar_url":"https://avatars.githubusercontent.com/u/141736?v=3","gravatar_id":"","url":"https://api.github.com/users/albertsj1","html_url":"https://github.com/albertsj1","followers_url":"https://api.github.com/users/albertsj1/followers","following_url":"https://api.github.com/users/albertsj1/following{/other_user}","gists_url":"https://api.github.com/users/albertsj1/gists{/gist_id}","starred_url":"https://api.github.com/users/albertsj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertsj1/subscriptions","organizations_url":"https://api.github.com/users/albertsj1/orgs","repos_url":"https://api.github.com/users/albertsj1/repos","events_url":"https://api.github.com/users/albertsj1/events{/privacy}","received_events_url":"https://api.github.com/users/albertsj1/received_events","type":"User","site_admin":false},"body":"This automatically configures bamboo to set BAMBOO_ENDPOINT to be the value of HOST in the container. if AUTO_BAMBOO_HOST environment variable is set.  This makes it easy to scale Bamboo using Marathon as it will automatically determine the correct Bamboo endpoint based on where the current container is running.\r\nThis change is necessary to support this feature since we can't simply set BAMBOO_ENDPOINT=$HOST in Marathon as Marathon doesn't\r\nseem to support parameter substitution for environment variable values.","created_at":"2015-01-26T21:04:11Z","updated_at":"2015-01-26T21:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75/commits","review_comments_url":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75/comments","review_comment_url":"https://api.github.com/repos/QubitProducts/bamboo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/75/comments","statuses_url":"https://api.github.com/repos/QubitProducts/bamboo/statuses/f447676091a365791e56893018e81b3da9cceffa","head":{"label":"albertsj1:auto_bamboo_endpoint","ref":"auto_bamboo_endpoint","sha":"f447676091a365791e56893018e81b3da9cceffa","user":{"login":"albertsj1","id":141736,"avatar_url":"https://avatars.githubusercontent.com/u/141736?v=3","gravatar_id":"","url":"https://api.github.com/users/albertsj1","html_url":"https://github.com/albertsj1","followers_url":"https://api.github.com/users/albertsj1/followers","following_url":"https://api.github.com/users/albertsj1/following{/other_user}","gists_url":"https://api.github.com/users/albertsj1/gists{/gist_id}","starred_url":"https://api.github.com/users/albertsj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertsj1/subscriptions","organizations_url":"https://api.github.com/users/albertsj1/orgs","repos_url":"https://api.github.com/users/albertsj1/repos","events_url":"https://api.github.com/users/albertsj1/events{/privacy}","received_events_url":"https://api.github.com/users/albertsj1/received_events","type":"User","site_admin":false},"repo":{"id":29875432,"name":"bamboo","full_name":"albertsj1/bamboo","owner":{"login":"albertsj1","id":141736,"avatar_url":"https://avatars.githubusercontent.com/u/141736?v=3","gravatar_id":"","url":"https://api.github.com/users/albertsj1","html_url":"https://github.com/albertsj1","followers_url":"https://api.github.com/users/albertsj1/followers","following_url":"https://api.github.com/users/albertsj1/following{/other_user}","gists_url":"https://api.github.com/users/albertsj1/gists{/gist_id}","starred_url":"https://api.github.com/users/albertsj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertsj1/subscriptions","organizations_url":"https://api.github.com/users/albertsj1/orgs","repos_url":"https://api.github.com/users/albertsj1/repos","events_url":"https://api.github.com/users/albertsj1/events{/privacy}","received_events_url":"https://api.github.com/users/albertsj1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/albertsj1/bamboo","description":"HAProxy auto configuration and auto service discovery for Mesos Marathon","fork":true,"url":"https://api.github.com/repos/albertsj1/bamboo","forks_url":"https://api.github.com/repos/albertsj1/bamboo/forks","keys_url":"https://api.github.com/repos/albertsj1/bamboo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/albertsj1/bamboo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/albertsj1/bamboo/teams","hooks_url":"https://api.github.com/repos/albertsj1/bamboo/hooks","issue_events_url":"https://api.github.com/repos/albertsj1/bamboo/issues/events{/number}","events_url":"https://api.github.com/repos/albertsj1/bamboo/events","assignees_url":"https://api.github.com/repos/albertsj1/bamboo/assignees{/user}","branches_url":"https://api.github.com/repos/albertsj1/bamboo/branches{/branch}","tags_url":"https://api.github.com/repos/albertsj1/bamboo/tags","blobs_url":"https://api.github.com/repos/albertsj1/bamboo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/albertsj1/bamboo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/albertsj1/bamboo/git/refs{/sha}","trees_url":"https://api.github.com/repos/albertsj1/bamboo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/albertsj1/bamboo/statuses/{sha}","languages_url":"https://api.github.com/repos/albertsj1/bamboo/languages","stargazers_url":"https://api.github.com/repos/albertsj1/bamboo/stargazers","contributors_url":"https://api.github.com/repos/albertsj1/bamboo/contributors","subscribers_url":"https://api.github.com/repos/albertsj1/bamboo/subscribers","subscription_url":"https://api.github.com/repos/albertsj1/bamboo/subscription","commits_url":"https://api.github.com/repos/albertsj1/bamboo/commits{/sha}","git_commits_url":"https://api.github.com/repos/albertsj1/bamboo/git/commits{/sha}","comments_url":"https://api.github.com/repos/albertsj1/bamboo/comments{/number}","issue_comment_url":"https://api.github.com/repos/albertsj1/bamboo/issues/comments/{number}","contents_url":"https://api.github.com/repos/albertsj1/bamboo/contents/{+path}","compare_url":"https://api.github.com/repos/albertsj1/bamboo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/albertsj1/bamboo/merges","archive_url":"https://api.github.com/repos/albertsj1/bamboo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/albertsj1/bamboo/downloads","issues_url":"https://api.github.com/repos/albertsj1/bamboo/issues{/number}","pulls_url":"https://api.github.com/repos/albertsj1/bamboo/pulls{/number}","milestones_url":"https://api.github.com/repos/albertsj1/bamboo/milestones{/number}","notifications_url":"https://api.github.com/repos/albertsj1/bamboo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/albertsj1/bamboo/labels{/name}","releases_url":"https://api.github.com/repos/albertsj1/bamboo/releases{/id}","created_at":"2015-01-26T18:36:43Z","updated_at":"2015-01-26T18:36:43Z","pushed_at":"2015-01-26T20:58:09Z","git_url":"git://github.com/albertsj1/bamboo.git","ssh_url":"git@github.com:albertsj1/bamboo.git","clone_url":"https://github.com/albertsj1/bamboo.git","svn_url":"https://github.com/albertsj1/bamboo","homepage":"","size":1579,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"QubitProducts:master","ref":"master","sha":"5154a0abbff59674cc1fb2be90f976472d2d813a","user":{"login":"QubitProducts","id":827777,"avatar_url":"https://avatars.githubusercontent.com/u/827777?v=3","gravatar_id":"","url":"https://api.github.com/users/QubitProducts","html_url":"https://github.com/QubitProducts","followers_url":"https://api.github.com/users/QubitProducts/followers","following_url":"https://api.github.com/users/QubitProducts/following{/other_user}","gists_url":"https://api.github.com/users/QubitProducts/gists{/gist_id}","starred_url":"https://api.github.com/users/QubitProducts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QubitProducts/subscriptions","organizations_url":"https://api.github.com/users/QubitProducts/orgs","repos_url":"https://api.github.com/users/QubitProducts/repos","events_url":"https://api.github.com/users/QubitProducts/events{/privacy}","received_events_url":"https://api.github.com/users/QubitProducts/received_events","type":"Organization","site_admin":false},"repo":{"id":23346910,"name":"bamboo","full_name":"QubitProducts/bamboo","owner":{"login":"QubitProducts","id":827777,"avatar_url":"https://avatars.githubusercontent.com/u/827777?v=3","gravatar_id":"","url":"https://api.github.com/users/QubitProducts","html_url":"https://github.com/QubitProducts","followers_url":"https://api.github.com/users/QubitProducts/followers","following_url":"https://api.github.com/users/QubitProducts/following{/other_user}","gists_url":"https://api.github.com/users/QubitProducts/gists{/gist_id}","starred_url":"https://api.github.com/users/QubitProducts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QubitProducts/subscriptions","organizations_url":"https://api.github.com/users/QubitProducts/orgs","repos_url":"https://api.github.com/users/QubitProducts/repos","events_url":"https://api.github.com/users/QubitProducts/events{/privacy}","received_events_url":"https://api.github.com/users/QubitProducts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/QubitProducts/bamboo","description":"HAProxy auto configuration and auto service discovery for Mesos Marathon","fork":false,"url":"https://api.github.com/repos/QubitProducts/bamboo","forks_url":"https://api.github.com/repos/QubitProducts/bamboo/forks","keys_url":"https://api.github.com/repos/QubitProducts/bamboo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QubitProducts/bamboo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QubitProducts/bamboo/teams","hooks_url":"https://api.github.com/repos/QubitProducts/bamboo/hooks","issue_events_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/events{/number}","events_url":"https://api.github.com/repos/QubitProducts/bamboo/events","assignees_url":"https://api.github.com/repos/QubitProducts/bamboo/assignees{/user}","branches_url":"https://api.github.com/repos/QubitProducts/bamboo/branches{/branch}","tags_url":"https://api.github.com/repos/QubitProducts/bamboo/tags","blobs_url":"https://api.github.com/repos/QubitProducts/bamboo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QubitProducts/bamboo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QubitProducts/bamboo/git/refs{/sha}","trees_url":"https://api.github.com/repos/QubitProducts/bamboo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QubitProducts/bamboo/statuses/{sha}","languages_url":"https://api.github.com/repos/QubitProducts/bamboo/languages","stargazers_url":"https://api.github.com/repos/QubitProducts/bamboo/stargazers","contributors_url":"https://api.github.com/repos/QubitProducts/bamboo/contributors","subscribers_url":"https://api.github.com/repos/QubitProducts/bamboo/subscribers","subscription_url":"https://api.github.com/repos/QubitProducts/bamboo/subscription","commits_url":"https://api.github.com/repos/QubitProducts/bamboo/commits{/sha}","git_commits_url":"https://api.github.com/repos/QubitProducts/bamboo/git/commits{/sha}","comments_url":"https://api.github.com/repos/QubitProducts/bamboo/comments{/number}","issue_comment_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/comments/{number}","contents_url":"https://api.github.com/repos/QubitProducts/bamboo/contents/{+path}","compare_url":"https://api.github.com/repos/QubitProducts/bamboo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QubitProducts/bamboo/merges","archive_url":"https://api.github.com/repos/QubitProducts/bamboo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QubitProducts/bamboo/downloads","issues_url":"https://api.github.com/repos/QubitProducts/bamboo/issues{/number}","pulls_url":"https://api.github.com/repos/QubitProducts/bamboo/pulls{/number}","milestones_url":"https://api.github.com/repos/QubitProducts/bamboo/milestones{/number}","notifications_url":"https://api.github.com/repos/QubitProducts/bamboo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QubitProducts/bamboo/labels{/name}","releases_url":"https://api.github.com/repos/QubitProducts/bamboo/releases{/id}","created_at":"2014-08-26T09:50:54Z","updated_at":"2015-01-25T02:31:16Z","pushed_at":"2015-01-21T16:58:29Z","git_url":"git://github.com/QubitProducts/bamboo.git","ssh_url":"git@github.com:QubitProducts/bamboo.git","clone_url":"https://github.com/QubitProducts/bamboo.git","svn_url":"https://github.com/QubitProducts/bamboo","homepage":"","size":1579,"stargazers_count":243,"watchers_count":243,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":11,"forks":38,"open_issues":11,"watchers":243,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75"},"html":{"href":"https://github.com/QubitProducts/bamboo/pull/75"},"issue":{"href":"https://api.github.com/repos/QubitProducts/bamboo/issues/75"},"comments":{"href":"https://api.github.com/repos/QubitProducts/bamboo/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/QubitProducts/bamboo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/QubitProducts/bamboo/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/QubitProducts/bamboo/statuses/f447676091a365791e56893018e81b3da9cceffa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}