{"action":"created","comment":{"url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments/189945458","pull_request_review_id":122220613,"id":189945458,"diff_hunk":"@@ -0,0 +1,32 @@\n+#! /bin/bash -e\n+\n+pod_label=$1\n+statefulset=$2\n+\n+# Statefulset starts the pods individually, but with the convention `{statefulset-name}-{0-n}`\n+# The second member {0-n} corresponds to the amount of pods\n+# We have to manually defined name of the pods based of amount of replicas.\n+if [[ \"$statefulset\" == \"true\" ]]; then\n+    pods_name=()","path":"kubernetes/check-pods.sh","position":10,"original_position":10,"commit_id":"839a68c8ee717406a916600636977cc744982421","original_commit_id":"839a68c8ee717406a916600636977cc744982421","user":{"login":"cameel","id":137030,"avatar_url":"https://avatars3.githubusercontent.com/u/137030?v=4","gravatar_id":"","url":"https://api.github.com/users/cameel","html_url":"https://github.com/cameel","followers_url":"https://api.github.com/users/cameel/followers","following_url":"https://api.github.com/users/cameel/following{/other_user}","gists_url":"https://api.github.com/users/cameel/gists{/gist_id}","starred_url":"https://api.github.com/users/cameel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameel/subscriptions","organizations_url":"https://api.github.com/users/cameel/orgs","repos_url":"https://api.github.com/users/cameel/repos","events_url":"https://api.github.com/users/cameel/events{/privacy}","received_events_url":"https://api.github.com/users/cameel/received_events","type":"User","site_admin":false},"body":"This holds multiple values so a name in plural would be more self-explanatory: `pod_names`","created_at":"2018-05-22T15:25:14Z","updated_at":"2018-05-22T15:50:49Z","html_url":"https://github.com/golemfactory/concent-deployment/pull/122#discussion_r189945458","pull_request_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments/189945458"},"html":{"href":"https://github.com/golemfactory/concent-deployment/pull/122#discussion_r189945458"},"pull_request":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122","id":184689747,"html_url":"https://github.com/golemfactory/concent-deployment/pull/122","diff_url":"https://github.com/golemfactory/concent-deployment/pull/122.diff","patch_url":"https://github.com/golemfactory/concent-deployment/pull/122.patch","issue_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/122","number":122,"state":"open","locked":false,"title":" Add script which wait for pod running, before create another one ","user":{"login":"bartoszbetka","id":26007109,"avatar_url":"https://avatars0.githubusercontent.com/u/26007109?v=4","gravatar_id":"","url":"https://api.github.com/users/bartoszbetka","html_url":"https://github.com/bartoszbetka","followers_url":"https://api.github.com/users/bartoszbetka/followers","following_url":"https://api.github.com/users/bartoszbetka/following{/other_user}","gists_url":"https://api.github.com/users/bartoszbetka/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszbetka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszbetka/subscriptions","organizations_url":"https://api.github.com/users/bartoszbetka/orgs","repos_url":"https://api.github.com/users/bartoszbetka/repos","events_url":"https://api.github.com/users/bartoszbetka/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszbetka/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-27T18:05:26Z","updated_at":"2018-05-22T15:50:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78283290f2e21bb2099c8fa5c681c4c39d65160f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122/commits","review_comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122/comments","review_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/122/comments","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/839a68c8ee717406a916600636977cc744982421","head":{"label":"golemfactory:add-feature-wait-for-pod-running","ref":"add-feature-wait-for-pod-running","sha":"839a68c8ee717406a916600636977cc744982421","user":{"login":"golemfactory","id":23193179,"avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"repo":{"id":108838807,"name":"concent-deployment","full_name":"golemfactory/concent-deployment","owner":{"login":"golemfactory","id":23193179,"avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/golemfactory/concent-deployment","description":"Scripts and configuration for Concent deployment","fork":false,"url":"https://api.github.com/repos/golemfactory/concent-deployment","forks_url":"https://api.github.com/repos/golemfactory/concent-deployment/forks","keys_url":"https://api.github.com/repos/golemfactory/concent-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golemfactory/concent-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golemfactory/concent-deployment/teams","hooks_url":"https://api.github.com/repos/golemfactory/concent-deployment/hooks","issue_events_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/golemfactory/concent-deployment/events","assignees_url":"https://api.github.com/repos/golemfactory/concent-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/golemfactory/concent-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/tags","blobs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/golemfactory/concent-deployment/languages","stargazers_url":"https://api.github.com/repos/golemfactory/concent-deployment/stargazers","contributors_url":"https://api.github.com/repos/golemfactory/concent-deployment/contributors","subscribers_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscribers","subscription_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscription","commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/golemfactory/concent-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/golemfactory/concent-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golemfactory/concent-deployment/merges","archive_url":"https://api.github.com/repos/golemfactory/concent-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golemfactory/concent-deployment/downloads","issues_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/golemfactory/concent-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/golemfactory/concent-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golemfactory/concent-deployment/labels{/name}","releases_url":"https://api.github.com/repos/golemfactory/concent-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/golemfactory/concent-deployment/deployments","created_at":"2017-10-30T11:01:11Z","updated_at":"2018-05-18T10:40:12Z","pushed_at":"2018-05-22T15:28:11Z","git_url":"git://github.com/golemfactory/concent-deployment.git","ssh_url":"git@github.com:golemfactory/concent-deployment.git","clone_url":"https://github.com/golemfactory/concent-deployment.git","svn_url":"https://github.com/golemfactory/concent-deployment","homepage":null,"size":178,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":36,"license":null,"forks":1,"open_issues":36,"watchers":1,"default_branch":"master"}},"base":{"label":"golemfactory:master","ref":"master","sha":"a79b25b3b07344f93343f7866e79727d955adaea","user":{"login":"golemfactory","id":23193179,"avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"repo":{"id":108838807,"name":"concent-deployment","full_name":"golemfactory/concent-deployment","owner":{"login":"golemfactory","id":23193179,"avatar_url":"https://avatars1.githubusercontent.com/u/23193179?v=4","gravatar_id":"","url":"https://api.github.com/users/golemfactory","html_url":"https://github.com/golemfactory","followers_url":"https://api.github.com/users/golemfactory/followers","following_url":"https://api.github.com/users/golemfactory/following{/other_user}","gists_url":"https://api.github.com/users/golemfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/golemfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golemfactory/subscriptions","organizations_url":"https://api.github.com/users/golemfactory/orgs","repos_url":"https://api.github.com/users/golemfactory/repos","events_url":"https://api.github.com/users/golemfactory/events{/privacy}","received_events_url":"https://api.github.com/users/golemfactory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/golemfactory/concent-deployment","description":"Scripts and configuration for Concent deployment","fork":false,"url":"https://api.github.com/repos/golemfactory/concent-deployment","forks_url":"https://api.github.com/repos/golemfactory/concent-deployment/forks","keys_url":"https://api.github.com/repos/golemfactory/concent-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golemfactory/concent-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golemfactory/concent-deployment/teams","hooks_url":"https://api.github.com/repos/golemfactory/concent-deployment/hooks","issue_events_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/golemfactory/concent-deployment/events","assignees_url":"https://api.github.com/repos/golemfactory/concent-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/golemfactory/concent-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/tags","blobs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/golemfactory/concent-deployment/languages","stargazers_url":"https://api.github.com/repos/golemfactory/concent-deployment/stargazers","contributors_url":"https://api.github.com/repos/golemfactory/concent-deployment/contributors","subscribers_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscribers","subscription_url":"https://api.github.com/repos/golemfactory/concent-deployment/subscription","commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/golemfactory/concent-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/golemfactory/concent-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/golemfactory/concent-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/golemfactory/concent-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golemfactory/concent-deployment/merges","archive_url":"https://api.github.com/repos/golemfactory/concent-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golemfactory/concent-deployment/downloads","issues_url":"https://api.github.com/repos/golemfactory/concent-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/golemfactory/concent-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/golemfactory/concent-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/golemfactory/concent-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golemfactory/concent-deployment/labels{/name}","releases_url":"https://api.github.com/repos/golemfactory/concent-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/golemfactory/concent-deployment/deployments","created_at":"2017-10-30T11:01:11Z","updated_at":"2018-05-18T10:40:12Z","pushed_at":"2018-05-22T15:28:11Z","git_url":"git://github.com/golemfactory/concent-deployment.git","ssh_url":"git@github.com:golemfactory/concent-deployment.git","clone_url":"https://github.com/golemfactory/concent-deployment.git","svn_url":"https://github.com/golemfactory/concent-deployment","homepage":null,"size":178,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":36,"license":null,"forks":1,"open_issues":36,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122"},"html":{"href":"https://github.com/golemfactory/concent-deployment/pull/122"},"issue":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/issues/122"},"comments":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/golemfactory/concent-deployment/statuses/839a68c8ee717406a916600636977cc744982421"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cameel"}}