{"action":"created","comment":{"url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/comments/150204810","pull_request_review_id":75721174,"id":150204810,"diff_hunk":"@@ -1,129 +1,119 @@\n pipeline:\n   test_build:\n-    image: docker:1.11\n+    image: docker:17.09.0-ce\n     environment:\n-      - DOCKER_HOST=tcp://127.0.0.1:2375\n+      - DOCKER_HOST=tcp://172.17.0.1:2375\n     commands:\n-      - apk add --no-cache bash sed grep bc coreutils\n+      - apk add --no-cache bash sed grep bc coreutils curl\n       - ./ci-build.sh\n     when:\n-      event: [push, pull_request, tag]\n+      event: [push, pull_request]\n   \n   build_clamav:","path":".drone.yml","position":16,"original_position":16,"commit_id":"e1dd3e6866aa46fefe5e8077e10d977e441c7040","original_commit_id":"e1dd3e6866aa46fefe5e8077e10d977e441c7040","user":{"login":"tasharnvb","id":19556347,"avatar_url":"https://avatars1.githubusercontent.com/u/19556347?v=4","gravatar_id":"","url":"https://api.github.com/users/tasharnvb","html_url":"https://github.com/tasharnvb","followers_url":"https://api.github.com/users/tasharnvb/followers","following_url":"https://api.github.com/users/tasharnvb/following{/other_user}","gists_url":"https://api.github.com/users/tasharnvb/gists{/gist_id}","starred_url":"https://api.github.com/users/tasharnvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasharnvb/subscriptions","organizations_url":"https://api.github.com/users/tasharnvb/orgs","repos_url":"https://api.github.com/users/tasharnvb/repos","events_url":"https://api.github.com/users/tasharnvb/events{/privacy}","received_events_url":"https://api.github.com/users/tasharnvb/received_events","type":"User","site_admin":false},"body":"`./ci-build` doesn't just build the containers, it build them, tests them and then stops and removes them (images included). I could change the script so that it does not remove the containers and have this pipeline trigger on everything (pushes, pull_requests and tags) though. Thoughts?","created_at":"2017-11-10T10:47:10Z","updated_at":"2017-11-10T10:47:10Z","html_url":"https://github.com/UKHomeOffice/docker-clamav/pull/24#discussion_r150204810","pull_request_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/comments/150204810"},"html":{"href":"https://github.com/UKHomeOffice/docker-clamav/pull/24#discussion_r150204810"},"pull_request":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24"}},"in_reply_to_id":150202516},"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24","id":151450341,"html_url":"https://github.com/UKHomeOffice/docker-clamav/pull/24","diff_url":"https://github.com/UKHomeOffice/docker-clamav/pull/24.diff","patch_url":"https://github.com/UKHomeOffice/docker-clamav/pull/24.patch","issue_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/24","number":24,"state":"open","locked":false,"title":"Transfer pipelines to new drone","user":{"login":"tasharnvb","id":19556347,"avatar_url":"https://avatars1.githubusercontent.com/u/19556347?v=4","gravatar_id":"","url":"https://api.github.com/users/tasharnvb","html_url":"https://github.com/tasharnvb","followers_url":"https://api.github.com/users/tasharnvb/followers","following_url":"https://api.github.com/users/tasharnvb/following{/other_user}","gists_url":"https://api.github.com/users/tasharnvb/gists{/gist_id}","starred_url":"https://api.github.com/users/tasharnvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasharnvb/subscriptions","organizations_url":"https://api.github.com/users/tasharnvb/orgs","repos_url":"https://api.github.com/users/tasharnvb/repos","events_url":"https://api.github.com/users/tasharnvb/events{/privacy}","received_events_url":"https://api.github.com/users/tasharnvb/received_events","type":"User","site_admin":false},"body":"Note: The database that this pulls from to update some of the files is not reliable. i.e. It randomly fails with a 404 sometimes when trying to pull the files.","created_at":"2017-11-08T17:46:27Z","updated_at":"2017-11-10T10:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3abb69ae792d0261d736c73ab1a0cad40a1a62c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24/commits","review_comments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24/comments","review_comment_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/24/comments","statuses_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/statuses/e1dd3e6866aa46fefe5e8077e10d977e441c7040","head":{"label":"UKHomeOffice:transfer-to-new-drone","ref":"transfer-to-new-drone","sha":"e1dd3e6866aa46fefe5e8077e10d977e441c7040","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":43807159,"name":"docker-clamav","full_name":"UKHomeOffice/docker-clamav","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/docker-clamav","description":"ClamAV built on standard HO CentOS maintained image","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/docker-clamav","forks_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/deployments","created_at":"2015-10-07T09:49:05Z","updated_at":"2017-08-01T07:44:24Z","pushed_at":"2017-11-10T10:18:57Z","git_url":"git://github.com/UKHomeOffice/docker-clamav.git","ssh_url":"git@github.com:UKHomeOffice/docker-clamav.git","clone_url":"https://github.com/UKHomeOffice/docker-clamav.git","svn_url":"https://github.com/UKHomeOffice/docker-clamav","homepage":null,"size":11382,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":8,"default_branch":"master"}},"base":{"label":"UKHomeOffice:master","ref":"master","sha":"2cf511db689afbc2895ee802fdb1591c36803592","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":43807159,"name":"docker-clamav","full_name":"UKHomeOffice/docker-clamav","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/docker-clamav","description":"ClamAV built on standard HO CentOS maintained image","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/docker-clamav","forks_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/docker-clamav/deployments","created_at":"2015-10-07T09:49:05Z","updated_at":"2017-08-01T07:44:24Z","pushed_at":"2017-11-10T10:18:57Z","git_url":"git://github.com/UKHomeOffice/docker-clamav.git","ssh_url":"git@github.com:UKHomeOffice/docker-clamav.git","clone_url":"https://github.com/UKHomeOffice/docker-clamav.git","svn_url":"https://github.com/UKHomeOffice/docker-clamav","homepage":null,"size":11382,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24"},"html":{"href":"https://github.com/UKHomeOffice/docker-clamav/pull/24"},"issue":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/24"},"comments":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/UKHomeOffice/docker-clamav/statuses/e1dd3e6866aa46fefe5e8077e10d977e441c7040"}},"author_association":"NONE"}}
{"actor":{"display_login":"tasharnvb"}}