{"action":"created","comment":{"url":"https://api.github.com/repos/supergiant/supergiant/pulls/comments/212945304","pull_request_review_id":149663365,"id":212945304,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk0NTMwNA==","diff_hunk":"@@ -0,0 +1,178 @@\n+package workflows\n+\n+import (\n+\t\"bytes\"\n+\t\"context\"\n+\t\"encoding/json\"\n+\t\"io\"\n+\n+\t\"github.com/pborman/uuid\"\n+\t\"github.com/sirupsen/logrus\"\n+\n+\t\"github.com/supergiant/supergiant/pkg/storage\"\n+\t\"github.com/supergiant/supergiant/pkg/workflows/steps\"\n+)\n+\n+// Task is a workflow that runs and tracks its progress.\n+// A workflow is like a program, while a task is like a process,\n+// in terms of an operating system.\n+type Task struct {\n+\tID           string        `json:\"id\"`\n+\tType         string        `json:\"type\"`\n+\tConfig       *steps.Config `json:\"config\"`\n+\tStatus       steps.Status  `json:\"status\"`\n+\tStepStatuses []StepStatus  `json:\"steps\"`","path":"pkg/workflows/task.go","position":24,"original_position":24,"commit_id":"cf3bc7c8367b87c49fd981533cb5951e7eccee99","original_commit_id":"cf3bc7c8367b87c49fd981533cb5951e7eccee99","user":{"login":"saheienko","id":26225544,"node_id":"MDQ6VXNlcjI2MjI1NTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/26225544?v=4","gravatar_id":"","url":"https://api.github.com/users/saheienko","html_url":"https://github.com/saheienko","followers_url":"https://api.github.com/users/saheienko/followers","following_url":"https://api.github.com/users/saheienko/following{/other_user}","gists_url":"https://api.github.com/users/saheienko/gists{/gist_id}","starred_url":"https://api.github.com/users/saheienko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saheienko/subscriptions","organizations_url":"https://api.github.com/users/saheienko/orgs","repos_url":"https://api.github.com/users/saheienko/repos","events_url":"https://api.github.com/users/saheienko/events{/privacy}","received_events_url":"https://api.github.com/users/saheienko/received_events","type":"User","site_admin":false},"body":"steps or stepStatuses?","created_at":"2018-08-27T11:34:36Z","updated_at":"2018-08-27T11:58:05Z","html_url":"https://github.com/supergiant/supergiant/pull/584#discussion_r212945304","pull_request_url":"https://api.github.com/repos/supergiant/supergiant/pulls/584","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/comments/212945304"},"html":{"href":"https://github.com/supergiant/supergiant/pull/584#discussion_r212945304"},"pull_request":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/584"}}},"pull_request":{"url":"https://api.github.com/repos/supergiant/supergiant/pulls/584","id":208014420,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MDE0NDIw","html_url":"https://github.com/supergiant/supergiant/pull/584","diff_url":"https://github.com/supergiant/supergiant/pull/584.diff","patch_url":"https://github.com/supergiant/supergiant/pull/584.patch","issue_url":"https://api.github.com/repos/supergiant/supergiant/issues/584","number":584,"state":"open","locked":false,"title":"Multinode cluster provisioner","user":{"login":"stgleb","id":5112367,"node_id":"MDQ6VXNlcjUxMTIzNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5112367?v=4","gravatar_id":"","url":"https://api.github.com/users/stgleb","html_url":"https://github.com/stgleb","followers_url":"https://api.github.com/users/stgleb/followers","following_url":"https://api.github.com/users/stgleb/following{/other_user}","gists_url":"https://api.github.com/users/stgleb/gists{/gist_id}","starred_url":"https://api.github.com/users/stgleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgleb/subscriptions","organizations_url":"https://api.github.com/users/stgleb/orgs","repos_url":"https://api.github.com/users/stgleb/repos","events_url":"https://api.github.com/users/stgleb/events{/privacy}","received_events_url":"https://api.github.com/users/stgleb/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-13T15:24:11Z","updated_at":"2018-08-27T11:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"473c399e62fe4f1c7a1e48a77ca0b891419be6db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/supergiant/supergiant/pulls/584/commits","review_comments_url":"https://api.github.com/repos/supergiant/supergiant/pulls/584/comments","review_comment_url":"https://api.github.com/repos/supergiant/supergiant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/supergiant/supergiant/issues/584/comments","statuses_url":"https://api.github.com/repos/supergiant/supergiant/statuses/cf3bc7c8367b87c49fd981533cb5951e7eccee99","head":{"label":"stgleb:multinode_cluster_provisioner","ref":"multinode_cluster_provisioner","sha":"cf3bc7c8367b87c49fd981533cb5951e7eccee99","user":{"login":"stgleb","id":5112367,"node_id":"MDQ6VXNlcjUxMTIzNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5112367?v=4","gravatar_id":"","url":"https://api.github.com/users/stgleb","html_url":"https://github.com/stgleb","followers_url":"https://api.github.com/users/stgleb/followers","following_url":"https://api.github.com/users/stgleb/following{/other_user}","gists_url":"https://api.github.com/users/stgleb/gists{/gist_id}","starred_url":"https://api.github.com/users/stgleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgleb/subscriptions","organizations_url":"https://api.github.com/users/stgleb/orgs","repos_url":"https://api.github.com/users/stgleb/repos","events_url":"https://api.github.com/users/stgleb/events{/privacy}","received_events_url":"https://api.github.com/users/stgleb/received_events","type":"User","site_admin":false},"repo":{"id":132445628,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI0NDU2Mjg=","name":"supergiant","full_name":"stgleb/supergiant","owner":{"login":"stgleb","id":5112367,"node_id":"MDQ6VXNlcjUxMTIzNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5112367?v=4","gravatar_id":"","url":"https://api.github.com/users/stgleb","html_url":"https://github.com/stgleb","followers_url":"https://api.github.com/users/stgleb/followers","following_url":"https://api.github.com/users/stgleb/following{/other_user}","gists_url":"https://api.github.com/users/stgleb/gists{/gist_id}","starred_url":"https://api.github.com/users/stgleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgleb/subscriptions","organizations_url":"https://api.github.com/users/stgleb/orgs","repos_url":"https://api.github.com/users/stgleb/repos","events_url":"https://api.github.com/users/stgleb/events{/privacy}","received_events_url":"https://api.github.com/users/stgleb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stgleb/supergiant","description":"Automatically scale hardware and easily run stateful applications using Kubernetes.","fork":true,"url":"https://api.github.com/repos/stgleb/supergiant","forks_url":"https://api.github.com/repos/stgleb/supergiant/forks","keys_url":"https://api.github.com/repos/stgleb/supergiant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stgleb/supergiant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stgleb/supergiant/teams","hooks_url":"https://api.github.com/repos/stgleb/supergiant/hooks","issue_events_url":"https://api.github.com/repos/stgleb/supergiant/issues/events{/number}","events_url":"https://api.github.com/repos/stgleb/supergiant/events","assignees_url":"https://api.github.com/repos/stgleb/supergiant/assignees{/user}","branches_url":"https://api.github.com/repos/stgleb/supergiant/branches{/branch}","tags_url":"https://api.github.com/repos/stgleb/supergiant/tags","blobs_url":"https://api.github.com/repos/stgleb/supergiant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stgleb/supergiant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stgleb/supergiant/git/refs{/sha}","trees_url":"https://api.github.com/repos/stgleb/supergiant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stgleb/supergiant/statuses/{sha}","languages_url":"https://api.github.com/repos/stgleb/supergiant/languages","stargazers_url":"https://api.github.com/repos/stgleb/supergiant/stargazers","contributors_url":"https://api.github.com/repos/stgleb/supergiant/contributors","subscribers_url":"https://api.github.com/repos/stgleb/supergiant/subscribers","subscription_url":"https://api.github.com/repos/stgleb/supergiant/subscription","commits_url":"https://api.github.com/repos/stgleb/supergiant/commits{/sha}","git_commits_url":"https://api.github.com/repos/stgleb/supergiant/git/commits{/sha}","comments_url":"https://api.github.com/repos/stgleb/supergiant/comments{/number}","issue_comment_url":"https://api.github.com/repos/stgleb/supergiant/issues/comments{/number}","contents_url":"https://api.github.com/repos/stgleb/supergiant/contents/{+path}","compare_url":"https://api.github.com/repos/stgleb/supergiant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stgleb/supergiant/merges","archive_url":"https://api.github.com/repos/stgleb/supergiant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stgleb/supergiant/downloads","issues_url":"https://api.github.com/repos/stgleb/supergiant/issues{/number}","pulls_url":"https://api.github.com/repos/stgleb/supergiant/pulls{/number}","milestones_url":"https://api.github.com/repos/stgleb/supergiant/milestones{/number}","notifications_url":"https://api.github.com/repos/stgleb/supergiant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stgleb/supergiant/labels{/name}","releases_url":"https://api.github.com/repos/stgleb/supergiant/releases{/id}","deployments_url":"https://api.github.com/repos/stgleb/supergiant/deployments","created_at":"2018-05-07T10:35:48Z","updated_at":"2018-06-01T10:17:30Z","pushed_at":"2018-08-27T10:41:27Z","git_url":"git://github.com/stgleb/supergiant.git","ssh_url":"git@github.com:stgleb/supergiant.git","clone_url":"https://github.com/stgleb/supergiant.git","svn_url":"https://github.com/stgleb/supergiant","homepage":"https://supergiant.io/","size":61095,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"supergiant:master","ref":"master","sha":"2907b910151ffd3feb746effa0829c4610f2daed","user":{"login":"supergiant","id":17504253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTA0MjUz","avatar_url":"https://avatars0.githubusercontent.com/u/17504253?v=4","gravatar_id":"","url":"https://api.github.com/users/supergiant","html_url":"https://github.com/supergiant","followers_url":"https://api.github.com/users/supergiant/followers","following_url":"https://api.github.com/users/supergiant/following{/other_user}","gists_url":"https://api.github.com/users/supergiant/gists{/gist_id}","starred_url":"https://api.github.com/users/supergiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supergiant/subscriptions","organizations_url":"https://api.github.com/users/supergiant/orgs","repos_url":"https://api.github.com/users/supergiant/repos","events_url":"https://api.github.com/users/supergiant/events{/privacy}","received_events_url":"https://api.github.com/users/supergiant/received_events","type":"Organization","site_admin":false},"repo":{"id":52634092,"node_id":"MDEwOlJlcG9zaXRvcnk1MjYzNDA5Mg==","name":"supergiant","full_name":"supergiant/supergiant","owner":{"login":"supergiant","id":17504253,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTA0MjUz","avatar_url":"https://avatars0.githubusercontent.com/u/17504253?v=4","gravatar_id":"","url":"https://api.github.com/users/supergiant","html_url":"https://github.com/supergiant","followers_url":"https://api.github.com/users/supergiant/followers","following_url":"https://api.github.com/users/supergiant/following{/other_user}","gists_url":"https://api.github.com/users/supergiant/gists{/gist_id}","starred_url":"https://api.github.com/users/supergiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supergiant/subscriptions","organizations_url":"https://api.github.com/users/supergiant/orgs","repos_url":"https://api.github.com/users/supergiant/repos","events_url":"https://api.github.com/users/supergiant/events{/privacy}","received_events_url":"https://api.github.com/users/supergiant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/supergiant/supergiant","description":"Automatically scale hardware and easily run stateful applications using Kubernetes.","fork":false,"url":"https://api.github.com/repos/supergiant/supergiant","forks_url":"https://api.github.com/repos/supergiant/supergiant/forks","keys_url":"https://api.github.com/repos/supergiant/supergiant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/supergiant/supergiant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/supergiant/supergiant/teams","hooks_url":"https://api.github.com/repos/supergiant/supergiant/hooks","issue_events_url":"https://api.github.com/repos/supergiant/supergiant/issues/events{/number}","events_url":"https://api.github.com/repos/supergiant/supergiant/events","assignees_url":"https://api.github.com/repos/supergiant/supergiant/assignees{/user}","branches_url":"https://api.github.com/repos/supergiant/supergiant/branches{/branch}","tags_url":"https://api.github.com/repos/supergiant/supergiant/tags","blobs_url":"https://api.github.com/repos/supergiant/supergiant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/supergiant/supergiant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/supergiant/supergiant/git/refs{/sha}","trees_url":"https://api.github.com/repos/supergiant/supergiant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/supergiant/supergiant/statuses/{sha}","languages_url":"https://api.github.com/repos/supergiant/supergiant/languages","stargazers_url":"https://api.github.com/repos/supergiant/supergiant/stargazers","contributors_url":"https://api.github.com/repos/supergiant/supergiant/contributors","subscribers_url":"https://api.github.com/repos/supergiant/supergiant/subscribers","subscription_url":"https://api.github.com/repos/supergiant/supergiant/subscription","commits_url":"https://api.github.com/repos/supergiant/supergiant/commits{/sha}","git_commits_url":"https://api.github.com/repos/supergiant/supergiant/git/commits{/sha}","comments_url":"https://api.github.com/repos/supergiant/supergiant/comments{/number}","issue_comment_url":"https://api.github.com/repos/supergiant/supergiant/issues/comments{/number}","contents_url":"https://api.github.com/repos/supergiant/supergiant/contents/{+path}","compare_url":"https://api.github.com/repos/supergiant/supergiant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/supergiant/supergiant/merges","archive_url":"https://api.github.com/repos/supergiant/supergiant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/supergiant/supergiant/downloads","issues_url":"https://api.github.com/repos/supergiant/supergiant/issues{/number}","pulls_url":"https://api.github.com/repos/supergiant/supergiant/pulls{/number}","milestones_url":"https://api.github.com/repos/supergiant/supergiant/milestones{/number}","notifications_url":"https://api.github.com/repos/supergiant/supergiant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/supergiant/supergiant/labels{/name}","releases_url":"https://api.github.com/repos/supergiant/supergiant/releases{/id}","deployments_url":"https://api.github.com/repos/supergiant/supergiant/deployments","created_at":"2016-02-26T21:32:33Z","updated_at":"2018-08-23T16:06:37Z","pushed_at":"2018-08-27T10:41:28Z","git_url":"git://github.com/supergiant/supergiant.git","ssh_url":"git@github.com:supergiant/supergiant.git","clone_url":"https://github.com/supergiant/supergiant.git","svn_url":"https://github.com/supergiant/supergiant","homepage":"https://supergiant.io/","size":50327,"stargazers_count":577,"watchers_count":577,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":52,"open_issues":45,"watchers":577,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/584"},"html":{"href":"https://github.com/supergiant/supergiant/pull/584"},"issue":{"href":"https://api.github.com/repos/supergiant/supergiant/issues/584"},"comments":{"href":"https://api.github.com/repos/supergiant/supergiant/issues/584/comments"},"review_comments":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/584/comments"},"review_comment":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/supergiant/supergiant/pulls/584/commits"},"statuses":{"href":"https://api.github.com/repos/supergiant/supergiant/statuses/cf3bc7c8367b87c49fd981533cb5951e7eccee99"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"saheienko"}}