{"action":"created","comment":{"url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/comments/34404051","id":34404051,"diff_hunk":"@@ -157,47 +184,90 @@ Sandbox\n     cd bin\n     wget https://dl.bintray.com/mitchellh/packer/packer_0.7.5_linux_amd64.zip\n     unzip packer_0.7.5_linux_amd64.zip\n-    cd ../packer\n+    cd ..\n \n-    # centos 6 x86_64 HVM https://aws.amazon.com/marketplace/pp/B00NQAYLWO\n-    sed -i -e \"s/us-west-2/${AWS_REGION}/\" centos-6.6-x86_64.json\n-    sed -i -e \"s/ami-81d092b1/ami-c2a818aa/\" centos-6.6-x86_64.json\n+#### Select Official Centos AMI to use as base image\n \n-    # centos 7 x86_64 HVM https://aws.amazon.com/marketplace/pp/B00O7WM7QW\n-    sed -i -e \"s/us-west-2/${AWS_REGION}/\" centos-7.1-x86_64.json\n-    sed -i -e \"s/ami-c7d092f7/ami-96a818fe/\" centos-7.1-x86_64.json\n+EC2 AMI IDs are per region so you need to select the correct AMI ID for the\n+region in which you plan to build.  _Note that it is possible to copy AMIs\n+between EC2 regions after they are built.  However, each region will still have\n+a unique AMI ID_\n \n-    # sanity check\n-    git diff\n-    ../bin/packer build --only=amazon-ebs centos-6.6-x86_64.json\n+##### [CentOS 6 (x86_64) - with Updates HVM](https://aws.amazon.com/marketplace/pp/B00NQAYLWO)\n+\n+AMI IDs for version `6 - 2014-09-29`:\n+\n+Region                    | ID\n+:------------------------ | :-----------:\n+US East (N. Virginia)     | ami-c2a818aa\n+US West (Oregon)          | ami-81d092b1\n+US West (N. California)   | ami-57cfc412\n+EU (Frankfurt)            | ami-46c4f65b\n+EU (Ireland)              | ami-30ff5c47\n+Asia Pacific (Singapore)  | ami-b4a582e6\n+Asia Pacific (Sydney)     | ami-b3523089\n+Asia Pacific (Tokyo)      | ami-13614b12\n+South America (Sao Paulo) | ami-9b952086\n+\n+##### [CentOS 7 (x86_64) with Updates HVM](https://aws.amazon.com/marketplace/pp/B00O7WM7QW)\n+\n+AMI IDs for version `7 - 2014-09-29`:\n+\n+Region                     | ID\n+:------------------------- | :-----------:\n+US East (N. Virginia)      | ami-96a818fe\n+US West (Oregon)           | ami-c7d092f7\n+US West (N. California)    | ami-6bcfc42e\n+EU (Frankfurt)             | ami-7cc4f661\n+EU (Ireland)               | ami-e4ff5c93\n+Asia Pacific (Singapore)   | ami-aea582fc\n+Asia Pacific (Sydney)      | ami-bd523087\n+Asia Pacific (Tokyo)       | ami-89634988\n+South America (Sao Paulo)  | ami-bf9520a2\n+\n+### Build centos 6.6 AMI\n+\n+    ./bin/packer build --only amazon-ebs -var 'source_ami=ami-c2a818aa' centos-6.6-x86_64.json\n \n ```\n+Build 'amazon-ebs' finished.\n+\n ==> Builds finished. The artifacts of successful builds are:\n --> amazon-ebs: AMIs were created:\n \n-us-east-1: ami-92ccd2fa\n---> amazon-ebs: 'aws' provider box: ../builds/aws/opscode_centos-6.6_chef-provisionerless.box\n+us-east-1: ami-3331f958\n+--> amazon-ebs: 'aws' provider box: builds/__unset_box_basename__.aws.box\n ```\n-    ../bin/packer build --only=amazon-ebs centos-7.1-x86_64.json\n-    ../bin/packer build --only amazon-ebs -var 'source_ami=ami-6bcfc42e' centos-7.1-x86_64.json\n+\n+### Build centos 7.1 AMI\n+\n+    ./bin/packer build --only amazon-ebs -var 'source_ami=ami-96a818fe' centos-7.1-x86_64.json\n \n ```\n+Build 'amazon-ebs' finished.\n+\n ==> Builds finished. The artifacts of successful builds are:\n --> amazon-ebs: AMIs were created:\n \n-us-east-1: ami-feccd296\n---> amazon-ebs: 'aws' provider box: ../builds/aws/opscode_centos-7.1_chef-provisionerless.box\n+us-east-1: ami-3331f958\n+--> amazon-ebs: 'aws' provider box: builds/__unset_box_basename__.aws.box\n ```\n \n-    export CENTOS6_AMI=ami-92ccd2fa\n-    export CENTOS7_AMI=ami-feccd296\n+### Declare new AMI IDs\n+\n+To be used by vagrant.\n+\n+    export CENTOS6_AMI=ami-3331f958\n+    export CENTOS7_AMI=ami-3331f958","path":"README.md","position":188,"original_position":188,"commit_id":"af22825fa3d8af51901ac43e16dc9069c01b5079","original_commit_id":"af22825fa3d8af51901ac43e16dc9069c01b5079","user":{"login":"timj","id":60622,"avatar_url":"https://avatars.githubusercontent.com/u/60622?v=3","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"It doesn't seem that these should have the same value.","created_at":"2015-07-10T23:13:20Z","updated_at":"2015-07-10T23:13:20Z","html_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10#discussion_r34404051","pull_request_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/comments/34404051"},"html":{"href":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10#discussion_r34404051"},"pull_request":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10","id":39730807,"html_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10","diff_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10.diff","patch_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10.patch","issue_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/10","number":10,"state":"open","locked":false,"title":"Feature/dm 3113 v0.2.0","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-10T22:35:34Z","updated_at":"2015-07-10T23:13:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"967b53f3992f1e15b3d5a4b35db22decde41a767","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10/commits","review_comments_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10/comments","review_comment_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/10/comments","statuses_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/statuses/af22825fa3d8af51901ac43e16dc9069c01b5079","head":{"label":"jhoblitt:feature/DM-3113-v0.2.0","ref":"feature/DM-3113-v0.2.0","sha":"af22825fa3d8af51901ac43e16dc9069c01b5079","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"repo":{"id":35911854,"name":"sandbox-jenkins-demo","full_name":"jhoblitt/sandbox-jenkins-demo","owner":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhoblitt/sandbox-jenkins-demo","description":"","fork":true,"url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo","forks_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/forks","keys_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/teams","hooks_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/hooks","issue_events_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/issues/events{/number}","events_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/events","assignees_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/assignees{/user}","branches_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/branches{/branch}","tags_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/tags","blobs_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/languages","stargazers_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/stargazers","contributors_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/contributors","subscribers_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/subscribers","subscription_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/subscription","commits_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/contents/{+path}","compare_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/merges","archive_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/downloads","issues_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/issues{/number}","pulls_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/labels{/name}","releases_url":"https://api.github.com/repos/jhoblitt/sandbox-jenkins-demo/releases{/id}","created_at":"2015-05-19T22:25:56Z","updated_at":"2015-05-19T22:25:56Z","pushed_at":"2015-07-10T23:01:25Z","git_url":"git://github.com/jhoblitt/sandbox-jenkins-demo.git","ssh_url":"git@github.com:jhoblitt/sandbox-jenkins-demo.git","clone_url":"https://github.com/jhoblitt/sandbox-jenkins-demo.git","svn_url":"https://github.com/jhoblitt/sandbox-jenkins-demo","homepage":null,"size":278,"stargazers_count":0,"watchers_count":0,"language":"Puppet","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"lsst-sqre:master","ref":"master","sha":"cee7485215a4c6b4272f2e2f488f319a37fccc54","user":{"login":"lsst-sqre","id":10158560,"avatar_url":"https://avatars.githubusercontent.com/u/10158560?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst-sqre","html_url":"https://github.com/lsst-sqre","followers_url":"https://api.github.com/users/lsst-sqre/followers","following_url":"https://api.github.com/users/lsst-sqre/following{/other_user}","gists_url":"https://api.github.com/users/lsst-sqre/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst-sqre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst-sqre/subscriptions","organizations_url":"https://api.github.com/users/lsst-sqre/orgs","repos_url":"https://api.github.com/users/lsst-sqre/repos","events_url":"https://api.github.com/users/lsst-sqre/events{/privacy}","received_events_url":"https://api.github.com/users/lsst-sqre/received_events","type":"Organization","site_admin":false},"repo":{"id":35852922,"name":"sandbox-jenkins-demo","full_name":"lsst-sqre/sandbox-jenkins-demo","owner":{"login":"lsst-sqre","id":10158560,"avatar_url":"https://avatars.githubusercontent.com/u/10158560?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst-sqre","html_url":"https://github.com/lsst-sqre","followers_url":"https://api.github.com/users/lsst-sqre/followers","following_url":"https://api.github.com/users/lsst-sqre/following{/other_user}","gists_url":"https://api.github.com/users/lsst-sqre/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst-sqre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst-sqre/subscriptions","organizations_url":"https://api.github.com/users/lsst-sqre/orgs","repos_url":"https://api.github.com/users/lsst-sqre/repos","events_url":"https://api.github.com/users/lsst-sqre/events{/privacy}","received_events_url":"https://api.github.com/users/lsst-sqre/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo","description":"","fork":false,"url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo","forks_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/forks","keys_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/teams","hooks_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/hooks","issue_events_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/events{/number}","events_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/events","assignees_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/assignees{/user}","branches_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/branches{/branch}","tags_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/tags","blobs_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/languages","stargazers_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/stargazers","contributors_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/contributors","subscribers_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/subscribers","subscription_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/subscription","commits_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/contents/{+path}","compare_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/merges","archive_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/downloads","issues_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues{/number}","pulls_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/labels{/name}","releases_url":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/releases{/id}","created_at":"2015-05-19T01:50:45Z","updated_at":"2015-07-02T23:58:33Z","pushed_at":"2015-07-10T23:01:25Z","git_url":"git://github.com/lsst-sqre/sandbox-jenkins-demo.git","ssh_url":"git@github.com:lsst-sqre/sandbox-jenkins-demo.git","clone_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo.git","svn_url":"https://github.com/lsst-sqre/sandbox-jenkins-demo","homepage":null,"size":503,"stargazers_count":1,"watchers_count":1,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10"},"html":{"href":"https://github.com/lsst-sqre/sandbox-jenkins-demo/pull/10"},"issue":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/10"},"comments":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/lsst-sqre/sandbox-jenkins-demo/statuses/af22825fa3d8af51901ac43e16dc9069c01b5079"}}}}