{"action":"created","comment":{"url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/comments/62453529","id":62453529,"diff_hunk":"@@ -0,0 +1,83 @@\n+#!/usr/bin/env bash\n+\n+set -e\n+\n+SCRIPT_DIR=$(dirname $0)\n+\n+function vagrant_up() {\n+\tpushd \"$SCRIPT_DIR/../vagrant/\"\n+\tvagrant up\n+\tpopd\n+}\n+\n+function wait_for_k8s() {\n+\tlocal cluster_status=\"$SCRIPT_DIR/../vagrant/scripts/cluster_status.sh\"\n+\techo -n 'Waiting for k8s'\n+\twhile ! bash $cluster_status >/dev/null 2>&1; do","path":"tools/k8s-vagrant.sh","position":16,"original_position":16,"commit_id":"adae18c9433126d9a3a5e6b2431ef7c608b98352","original_commit_id":"adae18c9433126d9a3a5e6b2431ef7c608b98352","user":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"body":"Maybe here to, some fixed amount of attempts from my point of view is better","created_at":"2016-05-09T06:16:11Z","updated_at":"2016-05-09T06:16:11Z","html_url":"https://github.com/agalitsyn/yagoda/pull/40#discussion_r62453529","pull_request_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/comments/62453529"},"html":{"href":"https://github.com/agalitsyn/yagoda/pull/40#discussion_r62453529"},"pull_request":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40","id":69280019,"html_url":"https://github.com/agalitsyn/yagoda/pull/40","diff_url":"https://github.com/agalitsyn/yagoda/pull/40.diff","patch_url":"https://github.com/agalitsyn/yagoda/pull/40.patch","issue_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/40","number":40,"state":"open","locked":false,"title":"vagrant cluster startup script: from zero to hero","user":{"login":"alexey-medvedchikov","id":65190,"avatar_url":"https://avatars.githubusercontent.com/u/65190?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-medvedchikov","html_url":"https://github.com/alexey-medvedchikov","followers_url":"https://api.github.com/users/alexey-medvedchikov/followers","following_url":"https://api.github.com/users/alexey-medvedchikov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-medvedchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-medvedchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-medvedchikov/subscriptions","organizations_url":"https://api.github.com/users/alexey-medvedchikov/orgs","repos_url":"https://api.github.com/users/alexey-medvedchikov/repos","events_url":"https://api.github.com/users/alexey-medvedchikov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-medvedchikov/received_events","type":"User","site_admin":false},"body":"Depends on pull #35 pull #36 pull #37 pull #38 pull #39 \r\n\r\nresolves #26 ","created_at":"2016-05-08T21:20:05Z","updated_at":"2016-05-09T06:16:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd976afe5476b12ccaf736396cdae8942d28882b","assignee":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40/commits","review_comments_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40/comments","review_comment_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/40/comments","statuses_url":"https://api.github.com/repos/agalitsyn/yagoda/statuses/adae18c9433126d9a3a5e6b2431ef7c608b98352","head":{"label":"agalitsyn:k8s-vagrant-full-startup","ref":"k8s-vagrant-full-startup","sha":"adae18c9433126d9a3a5e6b2431ef7c608b98352","user":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"repo":{"id":57143622,"name":"yagoda","full_name":"agalitsyn/yagoda","owner":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agalitsyn/yagoda","description":"Yet another great ops deployment automation","fork":false,"url":"https://api.github.com/repos/agalitsyn/yagoda","forks_url":"https://api.github.com/repos/agalitsyn/yagoda/forks","keys_url":"https://api.github.com/repos/agalitsyn/yagoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agalitsyn/yagoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agalitsyn/yagoda/teams","hooks_url":"https://api.github.com/repos/agalitsyn/yagoda/hooks","issue_events_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/events{/number}","events_url":"https://api.github.com/repos/agalitsyn/yagoda/events","assignees_url":"https://api.github.com/repos/agalitsyn/yagoda/assignees{/user}","branches_url":"https://api.github.com/repos/agalitsyn/yagoda/branches{/branch}","tags_url":"https://api.github.com/repos/agalitsyn/yagoda/tags","blobs_url":"https://api.github.com/repos/agalitsyn/yagoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agalitsyn/yagoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agalitsyn/yagoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/agalitsyn/yagoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agalitsyn/yagoda/statuses/{sha}","languages_url":"https://api.github.com/repos/agalitsyn/yagoda/languages","stargazers_url":"https://api.github.com/repos/agalitsyn/yagoda/stargazers","contributors_url":"https://api.github.com/repos/agalitsyn/yagoda/contributors","subscribers_url":"https://api.github.com/repos/agalitsyn/yagoda/subscribers","subscription_url":"https://api.github.com/repos/agalitsyn/yagoda/subscription","commits_url":"https://api.github.com/repos/agalitsyn/yagoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/agalitsyn/yagoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/agalitsyn/yagoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/agalitsyn/yagoda/contents/{+path}","compare_url":"https://api.github.com/repos/agalitsyn/yagoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agalitsyn/yagoda/merges","archive_url":"https://api.github.com/repos/agalitsyn/yagoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agalitsyn/yagoda/downloads","issues_url":"https://api.github.com/repos/agalitsyn/yagoda/issues{/number}","pulls_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls{/number}","milestones_url":"https://api.github.com/repos/agalitsyn/yagoda/milestones{/number}","notifications_url":"https://api.github.com/repos/agalitsyn/yagoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agalitsyn/yagoda/labels{/name}","releases_url":"https://api.github.com/repos/agalitsyn/yagoda/releases{/id}","deployments_url":"https://api.github.com/repos/agalitsyn/yagoda/deployments","created_at":"2016-04-26T16:18:51Z","updated_at":"2016-05-03T06:01:55Z","pushed_at":"2016-05-09T06:06:11Z","git_url":"git://github.com/agalitsyn/yagoda.git","ssh_url":"git@github.com:agalitsyn/yagoda.git","clone_url":"https://github.com/agalitsyn/yagoda.git","svn_url":"https://github.com/agalitsyn/yagoda","homepage":null,"size":60,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":2,"default_branch":"master"}},"base":{"label":"agalitsyn:master","ref":"master","sha":"c984f95acad40e973dce5ec1e9f20fa7d4298f64","user":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"repo":{"id":57143622,"name":"yagoda","full_name":"agalitsyn/yagoda","owner":{"login":"agalitsyn","id":1642205,"avatar_url":"https://avatars.githubusercontent.com/u/1642205?v=3","gravatar_id":"","url":"https://api.github.com/users/agalitsyn","html_url":"https://github.com/agalitsyn","followers_url":"https://api.github.com/users/agalitsyn/followers","following_url":"https://api.github.com/users/agalitsyn/following{/other_user}","gists_url":"https://api.github.com/users/agalitsyn/gists{/gist_id}","starred_url":"https://api.github.com/users/agalitsyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalitsyn/subscriptions","organizations_url":"https://api.github.com/users/agalitsyn/orgs","repos_url":"https://api.github.com/users/agalitsyn/repos","events_url":"https://api.github.com/users/agalitsyn/events{/privacy}","received_events_url":"https://api.github.com/users/agalitsyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agalitsyn/yagoda","description":"Yet another great ops deployment automation","fork":false,"url":"https://api.github.com/repos/agalitsyn/yagoda","forks_url":"https://api.github.com/repos/agalitsyn/yagoda/forks","keys_url":"https://api.github.com/repos/agalitsyn/yagoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agalitsyn/yagoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agalitsyn/yagoda/teams","hooks_url":"https://api.github.com/repos/agalitsyn/yagoda/hooks","issue_events_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/events{/number}","events_url":"https://api.github.com/repos/agalitsyn/yagoda/events","assignees_url":"https://api.github.com/repos/agalitsyn/yagoda/assignees{/user}","branches_url":"https://api.github.com/repos/agalitsyn/yagoda/branches{/branch}","tags_url":"https://api.github.com/repos/agalitsyn/yagoda/tags","blobs_url":"https://api.github.com/repos/agalitsyn/yagoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agalitsyn/yagoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agalitsyn/yagoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/agalitsyn/yagoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agalitsyn/yagoda/statuses/{sha}","languages_url":"https://api.github.com/repos/agalitsyn/yagoda/languages","stargazers_url":"https://api.github.com/repos/agalitsyn/yagoda/stargazers","contributors_url":"https://api.github.com/repos/agalitsyn/yagoda/contributors","subscribers_url":"https://api.github.com/repos/agalitsyn/yagoda/subscribers","subscription_url":"https://api.github.com/repos/agalitsyn/yagoda/subscription","commits_url":"https://api.github.com/repos/agalitsyn/yagoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/agalitsyn/yagoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/agalitsyn/yagoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/agalitsyn/yagoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/agalitsyn/yagoda/contents/{+path}","compare_url":"https://api.github.com/repos/agalitsyn/yagoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agalitsyn/yagoda/merges","archive_url":"https://api.github.com/repos/agalitsyn/yagoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agalitsyn/yagoda/downloads","issues_url":"https://api.github.com/repos/agalitsyn/yagoda/issues{/number}","pulls_url":"https://api.github.com/repos/agalitsyn/yagoda/pulls{/number}","milestones_url":"https://api.github.com/repos/agalitsyn/yagoda/milestones{/number}","notifications_url":"https://api.github.com/repos/agalitsyn/yagoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agalitsyn/yagoda/labels{/name}","releases_url":"https://api.github.com/repos/agalitsyn/yagoda/releases{/id}","deployments_url":"https://api.github.com/repos/agalitsyn/yagoda/deployments","created_at":"2016-04-26T16:18:51Z","updated_at":"2016-05-03T06:01:55Z","pushed_at":"2016-05-09T06:06:11Z","git_url":"git://github.com/agalitsyn/yagoda.git","ssh_url":"git@github.com:agalitsyn/yagoda.git","clone_url":"https://github.com/agalitsyn/yagoda.git","svn_url":"https://github.com/agalitsyn/yagoda","homepage":null,"size":60,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40"},"html":{"href":"https://github.com/agalitsyn/yagoda/pull/40"},"issue":{"href":"https://api.github.com/repos/agalitsyn/yagoda/issues/40"},"comments":{"href":"https://api.github.com/repos/agalitsyn/yagoda/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agalitsyn/yagoda/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/agalitsyn/yagoda/statuses/adae18c9433126d9a3a5e6b2431ef7c608b98352"}}}}