{"action":"created","comment":{"url":"https://api.github.com/repos/vimc/kodiak/pulls/comments/184084656","pull_request_review_id":115207539,"id":184084656,"diff_hunk":"@@ -1,7 +1,13 @@\n #!/usr/bin/env bash\n set -e\n \n+kodiak_version=$(git rev-parse --short=7 HEAD)\n+registry=docker.montagu.dide.ic.ac.uk:5000\n+kodiak_image=${registry}/kodiak:${kodiak_version}\n+\n+docker pull ${kodiak_image}","path":"scripts/kodiak","position":8,"original_position":8,"commit_id":"53ce7f3d2714140a5b492f488f099b883996c2c6","original_commit_id":"53ce7f3d2714140a5b492f488f099b883996c2c6","user":{"login":"littledice","id":6736820,"avatar_url":"https://avatars3.githubusercontent.com/u/6736820?v=4","gravatar_id":"","url":"https://api.github.com/users/littledice","html_url":"https://github.com/littledice","followers_url":"https://api.github.com/users/littledice/followers","following_url":"https://api.github.com/users/littledice/following{/other_user}","gists_url":"https://api.github.com/users/littledice/gists{/gist_id}","starred_url":"https://api.github.com/users/littledice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littledice/subscriptions","organizations_url":"https://api.github.com/users/littledice/orgs","repos_url":"https://api.github.com/users/littledice/repos","events_url":"https://api.github.com/users/littledice/events{/privacy}","received_events_url":"https://api.github.com/users/littledice/received_events","type":"User","site_admin":false},"body":"Ok, Rich just explained that `run` also pulls if the image doesn't exist, that was the missing piece for my understanding! I'm with you now.","created_at":"2018-04-25T14:39:39Z","updated_at":"2018-04-25T14:39:40Z","html_url":"https://github.com/vimc/kodiak/pull/4#discussion_r184084656","pull_request_url":"https://api.github.com/repos/vimc/kodiak/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/comments/184084656"},"html":{"href":"https://github.com/vimc/kodiak/pull/4#discussion_r184084656"},"pull_request":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/4"}},"in_reply_to_id":184051221},"pull_request":{"url":"https://api.github.com/repos/vimc/kodiak/pulls/4","id":183502659,"html_url":"https://github.com/vimc/kodiak/pull/4","diff_url":"https://github.com/vimc/kodiak/pull/4.diff","patch_url":"https://github.com/vimc/kodiak/pull/4.patch","issue_url":"https://api.github.com/repos/vimc/kodiak/issues/4","number":4,"state":"open","locked":false,"title":"I1694 - pull image rather than building locally","user":{"login":"littledice","id":6736820,"avatar_url":"https://avatars3.githubusercontent.com/u/6736820?v=4","gravatar_id":"","url":"https://api.github.com/users/littledice","html_url":"https://github.com/littledice","followers_url":"https://api.github.com/users/littledice/followers","following_url":"https://api.github.com/users/littledice/following{/other_user}","gists_url":"https://api.github.com/users/littledice/gists{/gist_id}","starred_url":"https://api.github.com/users/littledice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littledice/subscriptions","organizations_url":"https://api.github.com/users/littledice/orgs","repos_url":"https://api.github.com/users/littledice/repos","events_url":"https://api.github.com/users/littledice/events{/privacy}","received_events_url":"https://api.github.com/users/littledice/received_events","type":"User","site_admin":false},"body":"But first merge https://github.com/vimc/kodiak/pull/2","created_at":"2018-04-23T17:20:44Z","updated_at":"2018-04-25T14:39:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0c6c0df567fda4692a758f727746d4066942e50","assignee":null,"assignees":[],"requested_reviewers":[{"login":"richfitz","id":1558093,"avatar_url":"https://avatars1.githubusercontent.com/u/1558093?v=4","gravatar_id":"","url":"https://api.github.com/users/richfitz","html_url":"https://github.com/richfitz","followers_url":"https://api.github.com/users/richfitz/followers","following_url":"https://api.github.com/users/richfitz/following{/other_user}","gists_url":"https://api.github.com/users/richfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/richfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richfitz/subscriptions","organizations_url":"https://api.github.com/users/richfitz/orgs","repos_url":"https://api.github.com/users/richfitz/repos","events_url":"https://api.github.com/users/richfitz/events{/privacy}","received_events_url":"https://api.github.com/users/richfitz/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vimc/kodiak/pulls/4/commits","review_comments_url":"https://api.github.com/repos/vimc/kodiak/pulls/4/comments","review_comment_url":"https://api.github.com/repos/vimc/kodiak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vimc/kodiak/issues/4/comments","statuses_url":"https://api.github.com/repos/vimc/kodiak/statuses/53ce7f3d2714140a5b492f488f099b883996c2c6","head":{"label":"vimc:i1694","ref":"i1694","sha":"53ce7f3d2714140a5b492f488f099b883996c2c6","user":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"repo":{"id":130073538,"name":"kodiak","full_name":"vimc/kodiak","owner":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vimc/kodiak","description":"Backup tool using S3 as backend. Based around KISS principle to avoid us deleting our backups by accident","fork":false,"url":"https://api.github.com/repos/vimc/kodiak","forks_url":"https://api.github.com/repos/vimc/kodiak/forks","keys_url":"https://api.github.com/repos/vimc/kodiak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimc/kodiak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimc/kodiak/teams","hooks_url":"https://api.github.com/repos/vimc/kodiak/hooks","issue_events_url":"https://api.github.com/repos/vimc/kodiak/issues/events{/number}","events_url":"https://api.github.com/repos/vimc/kodiak/events","assignees_url":"https://api.github.com/repos/vimc/kodiak/assignees{/user}","branches_url":"https://api.github.com/repos/vimc/kodiak/branches{/branch}","tags_url":"https://api.github.com/repos/vimc/kodiak/tags","blobs_url":"https://api.github.com/repos/vimc/kodiak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimc/kodiak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimc/kodiak/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimc/kodiak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimc/kodiak/statuses/{sha}","languages_url":"https://api.github.com/repos/vimc/kodiak/languages","stargazers_url":"https://api.github.com/repos/vimc/kodiak/stargazers","contributors_url":"https://api.github.com/repos/vimc/kodiak/contributors","subscribers_url":"https://api.github.com/repos/vimc/kodiak/subscribers","subscription_url":"https://api.github.com/repos/vimc/kodiak/subscription","commits_url":"https://api.github.com/repos/vimc/kodiak/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimc/kodiak/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimc/kodiak/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimc/kodiak/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimc/kodiak/contents/{+path}","compare_url":"https://api.github.com/repos/vimc/kodiak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimc/kodiak/merges","archive_url":"https://api.github.com/repos/vimc/kodiak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimc/kodiak/downloads","issues_url":"https://api.github.com/repos/vimc/kodiak/issues{/number}","pulls_url":"https://api.github.com/repos/vimc/kodiak/pulls{/number}","milestones_url":"https://api.github.com/repos/vimc/kodiak/milestones{/number}","notifications_url":"https://api.github.com/repos/vimc/kodiak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimc/kodiak/labels{/name}","releases_url":"https://api.github.com/repos/vimc/kodiak/releases{/id}","deployments_url":"https://api.github.com/repos/vimc/kodiak/deployments","created_at":"2018-04-18T14:18:04Z","updated_at":"2018-04-25T12:14:05Z","pushed_at":"2018-04-25T12:17:25Z","git_url":"git://github.com/vimc/kodiak.git","ssh_url":"git@github.com:vimc/kodiak.git","clone_url":"https://github.com/vimc/kodiak.git","svn_url":"https://github.com/vimc/kodiak","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"vimc:master","ref":"master","sha":"4bacf0b3b43c769c89d72817852ed15cf56e84db","user":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"repo":{"id":130073538,"name":"kodiak","full_name":"vimc/kodiak","owner":{"login":"vimc","id":26278316,"avatar_url":"https://avatars1.githubusercontent.com/u/26278316?v=4","gravatar_id":"","url":"https://api.github.com/users/vimc","html_url":"https://github.com/vimc","followers_url":"https://api.github.com/users/vimc/followers","following_url":"https://api.github.com/users/vimc/following{/other_user}","gists_url":"https://api.github.com/users/vimc/gists{/gist_id}","starred_url":"https://api.github.com/users/vimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimc/subscriptions","organizations_url":"https://api.github.com/users/vimc/orgs","repos_url":"https://api.github.com/users/vimc/repos","events_url":"https://api.github.com/users/vimc/events{/privacy}","received_events_url":"https://api.github.com/users/vimc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vimc/kodiak","description":"Backup tool using S3 as backend. Based around KISS principle to avoid us deleting our backups by accident","fork":false,"url":"https://api.github.com/repos/vimc/kodiak","forks_url":"https://api.github.com/repos/vimc/kodiak/forks","keys_url":"https://api.github.com/repos/vimc/kodiak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimc/kodiak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimc/kodiak/teams","hooks_url":"https://api.github.com/repos/vimc/kodiak/hooks","issue_events_url":"https://api.github.com/repos/vimc/kodiak/issues/events{/number}","events_url":"https://api.github.com/repos/vimc/kodiak/events","assignees_url":"https://api.github.com/repos/vimc/kodiak/assignees{/user}","branches_url":"https://api.github.com/repos/vimc/kodiak/branches{/branch}","tags_url":"https://api.github.com/repos/vimc/kodiak/tags","blobs_url":"https://api.github.com/repos/vimc/kodiak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimc/kodiak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimc/kodiak/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimc/kodiak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimc/kodiak/statuses/{sha}","languages_url":"https://api.github.com/repos/vimc/kodiak/languages","stargazers_url":"https://api.github.com/repos/vimc/kodiak/stargazers","contributors_url":"https://api.github.com/repos/vimc/kodiak/contributors","subscribers_url":"https://api.github.com/repos/vimc/kodiak/subscribers","subscription_url":"https://api.github.com/repos/vimc/kodiak/subscription","commits_url":"https://api.github.com/repos/vimc/kodiak/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimc/kodiak/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimc/kodiak/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimc/kodiak/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimc/kodiak/contents/{+path}","compare_url":"https://api.github.com/repos/vimc/kodiak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimc/kodiak/merges","archive_url":"https://api.github.com/repos/vimc/kodiak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimc/kodiak/downloads","issues_url":"https://api.github.com/repos/vimc/kodiak/issues{/number}","pulls_url":"https://api.github.com/repos/vimc/kodiak/pulls{/number}","milestones_url":"https://api.github.com/repos/vimc/kodiak/milestones{/number}","notifications_url":"https://api.github.com/repos/vimc/kodiak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimc/kodiak/labels{/name}","releases_url":"https://api.github.com/repos/vimc/kodiak/releases{/id}","deployments_url":"https://api.github.com/repos/vimc/kodiak/deployments","created_at":"2018-04-18T14:18:04Z","updated_at":"2018-04-25T12:14:05Z","pushed_at":"2018-04-25T12:17:25Z","git_url":"git://github.com/vimc/kodiak.git","ssh_url":"git@github.com:vimc/kodiak.git","clone_url":"https://github.com/vimc/kodiak.git","svn_url":"https://github.com/vimc/kodiak","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/4"},"html":{"href":"https://github.com/vimc/kodiak/pull/4"},"issue":{"href":"https://api.github.com/repos/vimc/kodiak/issues/4"},"comments":{"href":"https://api.github.com/repos/vimc/kodiak/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vimc/kodiak/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/vimc/kodiak/statuses/53ce7f3d2714140a5b492f488f099b883996c2c6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"littledice"}}