{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments/119178363","pull_request_review_id":41033868,"id":119178363,"diff_hunk":"@@ -0,0 +1,37 @@\n+script=\"$( mktemp )\"\n+cat <<SCRIPT >\"${script}\"","path":"continuous-upgrade/jobs/install-ocp.sh","position":2,"original_position":2,"commit_id":"67c94e18ccbb9596a365dd01a401c4fd1f468371","original_commit_id":"67c94e18ccbb9596a365dd01a401c4fd1f468371","user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars2.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"body":"We had to do this because we were not using JJB -- I think we should be good to just use a script block in the YAML","created_at":"2017-05-30T18:26:46Z","updated_at":"2017-05-30T18:29:35Z","html_url":"https://github.com/openshift/aos-cd-jobs/pull/300#discussion_r119178363","pull_request_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300","_links":{"self":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments/119178363"},"html":{"href":"https://github.com/openshift/aos-cd-jobs/pull/300#discussion_r119178363"},"pull_request":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300","id":123092890,"html_url":"https://github.com/openshift/aos-cd-jobs/pull/300","diff_url":"https://github.com/openshift/aos-cd-jobs/pull/300.diff","patch_url":"https://github.com/openshift/aos-cd-jobs/pull/300.patch","issue_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/300","number":300,"state":"open","locked":false,"title":"Continuous upgrade job","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars1.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"body":"Continuous upgrade will consist from three jobs:\r\n1, Provision - install OCP on a single cluster node and trigger *Upgrade* job\r\n2, Upgrade - upgrade OCP to latest and trigger *Upgrade* job on sucess. On failure trigger *Terminate* job\r\n3, Terminate - terminate installed OCP node and trigger *Provision* job\r\n\r\nJobs are written consist from multiple scripts and will generate a single running script for each job. *Provision* and *Upgrade* jobs are `trap`ed on error and will cause triggering the *Terminate* job\r\n\r\n@stevekuznetsov PTAL","created_at":"2017-05-30T16:36:06Z","updated_at":"2017-05-30T18:29:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e600a515b1d1ffbdb2c92a5e85fb9cdaee84814","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300/commits","review_comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300/comments","review_comment_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/300/comments","statuses_url":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/67c94e18ccbb9596a365dd01a401c4fd1f468371","head":{"label":"jhadvig:cont_job","ref":"cont_job","sha":"67c94e18ccbb9596a365dd01a401c4fd1f468371","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars1.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"repo":{"id":79898157,"name":"aos-cd-jobs","full_name":"jhadvig/aos-cd-jobs","owner":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars1.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhadvig/aos-cd-jobs","description":null,"fork":true,"url":"https://api.github.com/repos/jhadvig/aos-cd-jobs","forks_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/forks","keys_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/teams","hooks_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/hooks","issue_events_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/events","assignees_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/tags","blobs_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/languages","stargazers_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/stargazers","contributors_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/contributors","subscribers_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/subscribers","subscription_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/subscription","commits_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/merges","archive_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/downloads","issues_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/labels{/name}","releases_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/jhadvig/aos-cd-jobs/deployments","created_at":"2017-01-24T09:43:24Z","updated_at":"2017-01-11T20:14:37Z","pushed_at":"2017-05-30T16:29:50Z","git_url":"git://github.com/jhadvig/aos-cd-jobs.git","ssh_url":"git@github.com:jhadvig/aos-cd-jobs.git","clone_url":"https://github.com/jhadvig/aos-cd-jobs.git","svn_url":"https://github.com/jhadvig/aos-cd-jobs","homepage":null,"size":872,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"ff462ea8be7aedeac46c8683fefc5e54080fc978","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars0.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":78675769,"name":"aos-cd-jobs","full_name":"openshift/aos-cd-jobs","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars0.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/aos-cd-jobs","description":null,"fork":false,"url":"https://api.github.com/repos/openshift/aos-cd-jobs","forks_url":"https://api.github.com/repos/openshift/aos-cd-jobs/forks","keys_url":"https://api.github.com/repos/openshift/aos-cd-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/aos-cd-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/aos-cd-jobs/teams","hooks_url":"https://api.github.com/repos/openshift/aos-cd-jobs/hooks","issue_events_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/aos-cd-jobs/events","assignees_url":"https://api.github.com/repos/openshift/aos-cd-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/aos-cd-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/aos-cd-jobs/tags","blobs_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/aos-cd-jobs/languages","stargazers_url":"https://api.github.com/repos/openshift/aos-cd-jobs/stargazers","contributors_url":"https://api.github.com/repos/openshift/aos-cd-jobs/contributors","subscribers_url":"https://api.github.com/repos/openshift/aos-cd-jobs/subscribers","subscription_url":"https://api.github.com/repos/openshift/aos-cd-jobs/subscription","commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/aos-cd-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/aos-cd-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/aos-cd-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/aos-cd-jobs/merges","archive_url":"https://api.github.com/repos/openshift/aos-cd-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/aos-cd-jobs/downloads","issues_url":"https://api.github.com/repos/openshift/aos-cd-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/aos-cd-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/aos-cd-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/aos-cd-jobs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/aos-cd-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/aos-cd-jobs/deployments","created_at":"2017-01-11T20:14:22Z","updated_at":"2017-05-15T02:05:25Z","pushed_at":"2017-05-30T18:12:20Z","git_url":"git://github.com/openshift/aos-cd-jobs.git","ssh_url":"git@github.com:openshift/aos-cd-jobs.git","clone_url":"https://github.com/openshift/aos-cd-jobs.git","svn_url":"https://github.com/openshift/aos-cd-jobs","homepage":null,"size":1001,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":15,"forks":15,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300"},"html":{"href":"https://github.com/openshift/aos-cd-jobs/pull/300"},"issue":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/300"},"comments":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/aos-cd-jobs/statuses/67c94e18ccbb9596a365dd01a401c4fd1f468371"}}}}
{"actor":{"display_login":"stevekuznetsov"}}