{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/picard/pulls/comments/180834674","pull_request_review_id":111327312,"id":180834674,"diff_hunk":"@@ -0,0 +1,27 @@\n+#!/usr/bin/env bash\n+\n+# This script is used to build and deploy docker images for Picard\n+\n+if [[ \"$1\" == \"\" ]]\n+then\n+    echo \"Usage: build_push_docker.sh <git-tag>\"\n+    exit 1\n+fi\n+\n+declare -r TAG=${1}\n+\n+echo \"Will build and push the following docker images:\"\n+echo \"broadinstitute/picard:${TAG}\"\n+echo \"broadinstitute/picard-cloud:${TAG}\"\n+\n+read -p \"Is this really what you want to do? \" -n 1 -r\n+echo    # (optional) move to a new line\n+if [[ $REPLY =~ ^[Yy]$ ]]\n+then\n+    docker build -t broadinstitute/picard:${TAG} --build-arg build_command=shadowJar --build-arg jar_name=picard.jar .\n+    docker build -t broadinstitute/picard-cloud:${TAG} --build-arg build_command=cloudJar --build-arg jar_name=picardcloud.jar .","path":"build_push_docker.sh","position":22,"original_position":22,"commit_id":"f9a5972bbd56bfd5808e9346226c24cf5ef9e6e8","original_commit_id":"f9a5972bbd56bfd5808e9346226c24cf5ef9e6e8","user":{"login":"tlangs","id":3210510,"avatar_url":"https://avatars2.githubusercontent.com/u/3210510?v=4","gravatar_id":"","url":"https://api.github.com/users/tlangs","html_url":"https://github.com/tlangs","followers_url":"https://api.github.com/users/tlangs/followers","following_url":"https://api.github.com/users/tlangs/following{/other_user}","gists_url":"https://api.github.com/users/tlangs/gists{/gist_id}","starred_url":"https://api.github.com/users/tlangs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlangs/subscriptions","organizations_url":"https://api.github.com/users/tlangs/orgs","repos_url":"https://api.github.com/users/tlangs/repos","events_url":"https://api.github.com/users/tlangs/events{/privacy}","received_events_url":"https://api.github.com/users/tlangs/received_events","type":"User","site_admin":false},"body":"I think we should be keeping the two versions in different repos since they do different things. The automated `latest` build would be ambiguous as to which tool it refers to.","created_at":"2018-04-11T17:26:08Z","updated_at":"2018-04-11T17:26:08Z","html_url":"https://github.com/broadinstitute/picard/pull/1153#discussion_r180834674","pull_request_url":"https://api.github.com/repos/broadinstitute/picard/pulls/1153","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/comments/180834674"},"html":{"href":"https://github.com/broadinstitute/picard/pull/1153#discussion_r180834674"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/1153"}},"in_reply_to_id":180827206},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/picard/pulls/1153","id":180371766,"html_url":"https://github.com/broadinstitute/picard/pull/1153","diff_url":"https://github.com/broadinstitute/picard/pull/1153.diff","patch_url":"https://github.com/broadinstitute/picard/pull/1153.patch","issue_url":"https://api.github.com/repos/broadinstitute/picard/issues/1153","number":1153,"state":"open","locked":false,"title":"Make picardcloud accessible in docker image","user":{"login":"tlangs","id":3210510,"avatar_url":"https://avatars2.githubusercontent.com/u/3210510?v=4","gravatar_id":"","url":"https://api.github.com/users/tlangs","html_url":"https://github.com/tlangs","followers_url":"https://api.github.com/users/tlangs/followers","following_url":"https://api.github.com/users/tlangs/following{/other_user}","gists_url":"https://api.github.com/users/tlangs/gists{/gist_id}","starred_url":"https://api.github.com/users/tlangs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlangs/subscriptions","organizations_url":"https://api.github.com/users/tlangs/orgs","repos_url":"https://api.github.com/users/tlangs/repos","events_url":"https://api.github.com/users/tlangs/events{/privacy}","received_events_url":"https://api.github.com/users/tlangs/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nThe cloud version of Picard should be accessible from the docker image. By using the `-c` option when invoking the docker image, the picardcloud jar is now run instead of the normal picard jar\r\n\r\n----\r\n\r\n### Checklist (never delete this)\r\n\r\nNever delete this, it is our record that procedure was followed. If you find that for whatever reason one of the checklist points doesn't apply to your PR, you can leave it unchecked but please add an explanation below.\r\n\r\n#### Content\r\n- [ ] Added or modified tests to cover changes and any new functionality\r\n- [ ] Edited the README / documentation (if applicable)\r\n- [ ] All tests passing on Travis\r\n\r\n#### Review\r\n- [ ] Final thumbs-up from reviewer\r\n- [ ] Rebase, squash and reword as applicable\r\n\r\nFor more detailed guidelines, see https://github.com/broadinstitute/picard/wiki/Guidelines-for-pull-requests\r\n\r\n","created_at":"2018-04-09T17:10:57Z","updated_at":"2018-04-11T17:26:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62843a1df6b23d35bf1634d8f83c4433b87056a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/picard/pulls/1153/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/picard/pulls/1153/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/picard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/picard/issues/1153/comments","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/f9a5972bbd56bfd5808e9346226c24cf5ef9e6e8","head":{"label":"broadinstitute:tl_picard_cloud_docker","ref":"tl_picard_cloud_docker","sha":"f9a5972bbd56bfd5808e9346226c24cf5ef9e6e8","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars0.githubusercontent.com/u/393552?v=4","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":18225913,"name":"picard","full_name":"broadinstitute/picard","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars0.githubusercontent.com/u/393552?v=4","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/picard","description":"A set of command line tools (in Java) for manipulating high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF.","fork":false,"url":"https://api.github.com/repos/broadinstitute/picard","forks_url":"https://api.github.com/repos/broadinstitute/picard/forks","keys_url":"https://api.github.com/repos/broadinstitute/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/picard/teams","hooks_url":"https://api.github.com/repos/broadinstitute/picard/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/picard/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/picard/events","assignees_url":"https://api.github.com/repos/broadinstitute/picard/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/picard/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/picard/tags","blobs_url":"https://api.github.com/repos/broadinstitute/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/picard/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/picard/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/picard/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/picard/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/picard/subscription","commits_url":"https://api.github.com/repos/broadinstitute/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/picard/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/picard/merges","archive_url":"https://api.github.com/repos/broadinstitute/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/picard/downloads","issues_url":"https://api.github.com/repos/broadinstitute/picard/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/picard/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/picard/releases{/id}","deployments_url":"https://api.github.com/repos/broadinstitute/picard/deployments","created_at":"2014-03-28T20:43:35Z","updated_at":"2018-04-09T13:05:59Z","pushed_at":"2018-04-11T16:52:27Z","git_url":"git://github.com/broadinstitute/picard.git","ssh_url":"git@github.com:broadinstitute/picard.git","clone_url":"https://github.com/broadinstitute/picard.git","svn_url":"https://github.com/broadinstitute/picard","homepage":"http://broadinstitute.github.io/picard/","size":146214,"stargazers_count":364,"watchers_count":364,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":234,"mirror_url":null,"archived":false,"open_issues_count":144,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":234,"open_issues":144,"watchers":364,"default_branch":"master"}},"base":{"label":"broadinstitute:master","ref":"master","sha":"7654d52ce23802c9ca79190a088503f35e0e4f81","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars0.githubusercontent.com/u/393552?v=4","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":18225913,"name":"picard","full_name":"broadinstitute/picard","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars0.githubusercontent.com/u/393552?v=4","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/picard","description":"A set of command line tools (in Java) for manipulating high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF.","fork":false,"url":"https://api.github.com/repos/broadinstitute/picard","forks_url":"https://api.github.com/repos/broadinstitute/picard/forks","keys_url":"https://api.github.com/repos/broadinstitute/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/picard/teams","hooks_url":"https://api.github.com/repos/broadinstitute/picard/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/picard/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/picard/events","assignees_url":"https://api.github.com/repos/broadinstitute/picard/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/picard/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/picard/tags","blobs_url":"https://api.github.com/repos/broadinstitute/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/picard/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/picard/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/picard/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/picard/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/picard/subscription","commits_url":"https://api.github.com/repos/broadinstitute/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/picard/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/picard/merges","archive_url":"https://api.github.com/repos/broadinstitute/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/picard/downloads","issues_url":"https://api.github.com/repos/broadinstitute/picard/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/picard/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/picard/releases{/id}","deployments_url":"https://api.github.com/repos/broadinstitute/picard/deployments","created_at":"2014-03-28T20:43:35Z","updated_at":"2018-04-09T13:05:59Z","pushed_at":"2018-04-11T16:52:27Z","git_url":"git://github.com/broadinstitute/picard.git","ssh_url":"git@github.com:broadinstitute/picard.git","clone_url":"https://github.com/broadinstitute/picard.git","svn_url":"https://github.com/broadinstitute/picard","homepage":"http://broadinstitute.github.io/picard/","size":146214,"stargazers_count":364,"watchers_count":364,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":234,"mirror_url":null,"archived":false,"open_issues_count":144,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":234,"open_issues":144,"watchers":364,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/1153"},"html":{"href":"https://github.com/broadinstitute/picard/pull/1153"},"issue":{"href":"https://api.github.com/repos/broadinstitute/picard/issues/1153"},"comments":{"href":"https://api.github.com/repos/broadinstitute/picard/issues/1153/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/1153/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/1153/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/picard/statuses/f9a5972bbd56bfd5808e9346226c24cf5ef9e6e8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tlangs"}}