{"action":"created","comment":{"url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/comments/53553211","id":53553211,"diff_hunk":"@@ -0,0 +1,15 @@\n+#!/bin/bash\n+\n+source /etc/environment\n+\n+HOMEDIR=$(eval echo \"~`whoami`\")\n+\n+sudo docker run --rm \\\n+    -v ${HOMEDIR}:/data/ behance/docker-aws-s3-downloader \\\n+     us-east-1 $CONTROL_TIER_S3SECURE_BUCKET .ecr\n+\n+# it's expected that these fields are already in the form\n+# /KEY/NAMESPACE VALUE\n+while read line || [[ -n \"$line\" ]]; do\n+    etcdctl set $line\n+done < ${HOMEDIR}/.ecr","path":"v2/setup/ecr.sh","position":15,"original_position":15,"commit_id":"90d0a1cc9ede461703161f813219cc5fd5d1cbd2","original_commit_id":"90d0a1cc9ede461703161f813219cc5fd5d1cbd2","user":{"login":"chr0n1x","id":1102319,"avatar_url":"https://avatars.githubusercontent.com/u/1102319?v=3","gravatar_id":"","url":"https://api.github.com/users/chr0n1x","html_url":"https://github.com/chr0n1x","followers_url":"https://api.github.com/users/chr0n1x/followers","following_url":"https://api.github.com/users/chr0n1x/following{/other_user}","gists_url":"https://api.github.com/users/chr0n1x/gists{/gist_id}","starred_url":"https://api.github.com/users/chr0n1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr0n1x/subscriptions","organizations_url":"https://api.github.com/users/chr0n1x/orgs","repos_url":"https://api.github.com/users/chr0n1x/repos","events_url":"https://api.github.com/users/chr0n1x/events{/privacy}","received_events_url":"https://api.github.com/users/chr0n1x/received_events","type":"User","site_admin":false},"body":"please add the content format to the [README](https://github.com/adobe-platform/mesos-systemd#files-in-s3)","created_at":"2016-02-20T16:45:05Z","updated_at":"2016-02-20T16:45:05Z","html_url":"https://github.com/adobe-platform/mesos-systemd/pull/145#discussion_r53553211","pull_request_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/comments/53553211"},"html":{"href":"https://github.com/adobe-platform/mesos-systemd/pull/145#discussion_r53553211"},"pull_request":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145","id":60029510,"html_url":"https://github.com/adobe-platform/mesos-systemd/pull/145","diff_url":"https://github.com/adobe-platform/mesos-systemd/pull/145.diff","patch_url":"https://github.com/adobe-platform/mesos-systemd/pull/145.patch","issue_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/145","number":145,"state":"open","locked":false,"title":"Add fleet service to login to AWS ECR. ","user":{"login":"cdmurph32","id":3459353,"avatar_url":"https://avatars.githubusercontent.com/u/3459353?v=3","gravatar_id":"","url":"https://api.github.com/users/cdmurph32","html_url":"https://github.com/cdmurph32","followers_url":"https://api.github.com/users/cdmurph32/followers","following_url":"https://api.github.com/users/cdmurph32/following{/other_user}","gists_url":"https://api.github.com/users/cdmurph32/gists{/gist_id}","starred_url":"https://api.github.com/users/cdmurph32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdmurph32/subscriptions","organizations_url":"https://api.github.com/users/cdmurph32/orgs","repos_url":"https://api.github.com/users/cdmurph32/repos","events_url":"https://api.github.com/users/cdmurph32/events{/privacy}","received_events_url":"https://api.github.com/users/cdmurph32/received_events","type":"User","site_admin":false},"body":"Add fleet service to login to AWS ECR. \r\n**This change also starts docker-cleanup.timer.**  I'm not sure if that was\r\nintentionally deactivated in the switch from v1 to v2.\r\n\r\nPlease let me know if it would be better for the AWS ECR service and\r\ntimer file to live in fleet-local/worker.","created_at":"2016-02-20T00:55:42Z","updated_at":"2016-02-20T16:45:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c2c9486f62961b71734152afe190bfd4f3de7f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145/commits","review_comments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145/comments","review_comment_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/145/comments","statuses_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/statuses/90d0a1cc9ede461703161f813219cc5fd5d1cbd2","head":{"label":"adobe-platform:feature/ecr-login","ref":"feature/ecr-login","sha":"90d0a1cc9ede461703161f813219cc5fd5d1cbd2","user":{"login":"adobe-platform","id":16107061,"avatar_url":"https://avatars.githubusercontent.com/u/16107061?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-platform","html_url":"https://github.com/adobe-platform","followers_url":"https://api.github.com/users/adobe-platform/followers","following_url":"https://api.github.com/users/adobe-platform/following{/other_user}","gists_url":"https://api.github.com/users/adobe-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-platform/subscriptions","organizations_url":"https://api.github.com/users/adobe-platform/orgs","repos_url":"https://api.github.com/users/adobe-platform/repos","events_url":"https://api.github.com/users/adobe-platform/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":35570054,"name":"mesos-systemd","full_name":"adobe-platform/mesos-systemd","owner":{"login":"adobe-platform","id":16107061,"avatar_url":"https://avatars.githubusercontent.com/u/16107061?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-platform","html_url":"https://github.com/adobe-platform","followers_url":"https://api.github.com/users/adobe-platform/followers","following_url":"https://api.github.com/users/adobe-platform/following{/other_user}","gists_url":"https://api.github.com/users/adobe-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-platform/subscriptions","organizations_url":"https://api.github.com/users/adobe-platform/orgs","repos_url":"https://api.github.com/users/adobe-platform/repos","events_url":"https://api.github.com/users/adobe-platform/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-platform/mesos-systemd","description":"Systemd scripts to run Mesos on CoreOS","fork":false,"url":"https://api.github.com/repos/adobe-platform/mesos-systemd","forks_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/forks","keys_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/teams","hooks_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/hooks","issue_events_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/events","assignees_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/tags","blobs_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/languages","stargazers_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/stargazers","contributors_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/contributors","subscribers_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/subscribers","subscription_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/subscription","commits_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/merges","archive_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/downloads","issues_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/labels{/name}","releases_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/releases{/id}","deployments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/deployments","created_at":"2015-05-13T19:31:57Z","updated_at":"2016-01-15T19:51:46Z","pushed_at":"2016-02-20T00:55:44Z","git_url":"git://github.com/adobe-platform/mesos-systemd.git","ssh_url":"git@github.com:adobe-platform/mesos-systemd.git","clone_url":"https://github.com/adobe-platform/mesos-systemd.git","svn_url":"https://github.com/adobe-platform/mesos-systemd","homepage":"","size":290,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"adobe-platform:master","ref":"master","sha":"728803c973b118ef5ae92e5cb1b08fed2d86d20b","user":{"login":"adobe-platform","id":16107061,"avatar_url":"https://avatars.githubusercontent.com/u/16107061?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-platform","html_url":"https://github.com/adobe-platform","followers_url":"https://api.github.com/users/adobe-platform/followers","following_url":"https://api.github.com/users/adobe-platform/following{/other_user}","gists_url":"https://api.github.com/users/adobe-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-platform/subscriptions","organizations_url":"https://api.github.com/users/adobe-platform/orgs","repos_url":"https://api.github.com/users/adobe-platform/repos","events_url":"https://api.github.com/users/adobe-platform/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":35570054,"name":"mesos-systemd","full_name":"adobe-platform/mesos-systemd","owner":{"login":"adobe-platform","id":16107061,"avatar_url":"https://avatars.githubusercontent.com/u/16107061?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe-platform","html_url":"https://github.com/adobe-platform","followers_url":"https://api.github.com/users/adobe-platform/followers","following_url":"https://api.github.com/users/adobe-platform/following{/other_user}","gists_url":"https://api.github.com/users/adobe-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe-platform/subscriptions","organizations_url":"https://api.github.com/users/adobe-platform/orgs","repos_url":"https://api.github.com/users/adobe-platform/repos","events_url":"https://api.github.com/users/adobe-platform/events{/privacy}","received_events_url":"https://api.github.com/users/adobe-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe-platform/mesos-systemd","description":"Systemd scripts to run Mesos on CoreOS","fork":false,"url":"https://api.github.com/repos/adobe-platform/mesos-systemd","forks_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/forks","keys_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/teams","hooks_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/hooks","issue_events_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/events","assignees_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/tags","blobs_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/languages","stargazers_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/stargazers","contributors_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/contributors","subscribers_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/subscribers","subscription_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/subscription","commits_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/merges","archive_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/downloads","issues_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/labels{/name}","releases_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/releases{/id}","deployments_url":"https://api.github.com/repos/adobe-platform/mesos-systemd/deployments","created_at":"2015-05-13T19:31:57Z","updated_at":"2016-01-15T19:51:46Z","pushed_at":"2016-02-20T00:55:44Z","git_url":"git://github.com/adobe-platform/mesos-systemd.git","ssh_url":"git@github.com:adobe-platform/mesos-systemd.git","clone_url":"https://github.com/adobe-platform/mesos-systemd.git","svn_url":"https://github.com/adobe-platform/mesos-systemd","homepage":"","size":290,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145"},"html":{"href":"https://github.com/adobe-platform/mesos-systemd/pull/145"},"issue":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/145"},"comments":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/adobe-platform/mesos-systemd/statuses/90d0a1cc9ede461703161f813219cc5fd5d1cbd2"}}}}