{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/83431535","pull_request_review_id":4277343,"id":83431535,"diff_hunk":"@@ -0,0 +1,172 @@\n+# -*- mode: ruby -*-\n+# vi: set ft=ruby :\n+\n+repose_version = ENV['REPOSE_VERSION'] || 'local'\n+\n+$update_yum = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Updating Apt packages\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+# update package lists from the server\n+apt-get update -qq\n+#apt-get upgrade -yq\n+SCRIPT\n+\n+$install_repose_dependencies = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Installing Repose package dependencies\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+# install potentially missing packages needed to install Repose\n+apt-get install -y -q wget\n+\n+# add openrepose.org repository\n+wget -O - http://repo.openrepose.org/debian/pubkey.gpg | apt-key add -\n+sh -c 'echo \"deb http://repo.openrepose.org/debian stable main\" > /etc/apt/sources.list.d/openrepose.list'\n+\n+## add nodesource.com repository\n+##### This tries to install the latest version and we need an older one.\n+#curl -sL https://deb.nodesource.com/setup_0.12 | bash -\n+\n+apt-get update\n+SCRIPT\n+\n+$install_nodejs = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Installing Node JS\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+# This is the latest version of 0.12.7 that is supported.\n+wget --quiet https://deb.nodesource.com/node_0.12/pool/main/n/nodejs/nodejs_0.12.7-1nodesource1~trusty1_amd64.deb\n+dpkg -i nodejs_0.12.7-1nodesource1~trusty1_amd64.deb\n+apt-mark hold nodejs\n+apt-get install -y -f\n+\n+## The current fake-keystone and fake-valkyrie require v0.12.7\n+##### This doesn't work for some reason even after the nodesource.com repository is added.\n+#apt-get install -y nodejs=0.12.7-1nodesource1~trusty1\n+SCRIPT\n+\n+$install_python = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Installing Python\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+apt-get install -y curl python-pip\n+SCRIPT\n+\n+$other_tools = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Installing other tools\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+apt-get install -y --quiet vim\n+SCRIPT\n+\n+$install_repose = <<SCRIPT\n+name='default'\n+version=''\n+if [ $# -ne 0 ] ; then\n+  if [ \"X_${1}_X\" = \"X_local_X\" ] ; then\n+    name=\"${1}\"\n+  elif [ \"X_${1}_X\" = \"X_current_X\" ] ; then\n+    name=\"${1}\"\n+  else\n+    name=\"v${1}\"\n+    version=\"=${1}\"\n+  fi\n+fi\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Installing Repose ${name} package\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+if [ \"X_${name}_X\" = \"X_local_X\" ] ; then\n+  dpkg -i /vagrant/repose-valve*_all.deb /vagrant/repose-filter-bundle*_all.deb /vagrant/repose-extensions-filter-bundle*_all.deb /vagrant/repose-experimental-filter-bundle*_all.deb\n+  apt-get install -y -f\n+else\n+  apt-get install -y repose-valve${version} repose-filter-bundle${version} repose-extensions-filter-bundle${version} repose-experimental-filter-bundle${version}\n+fi\n+mkdir -p /etc/systemd/system/repose-valve.service.d && echo \"[Service]\\nEnvironment=\\\"JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=10037,server=y,suspend=n\\\"\" > /etc/systemd/system/repose-valve.service.d/local.conf\n+sed -i '/JAVA_OPTS/c\\JAVA_OPTS=\"-Xdebug -Xrunjdwp:transport=dt_socket,address=10037,server=y,suspend=n\"' /etc/sysconfig/repose\n+SCRIPT\n+\n+$copy_configs = <<SCRIPT\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+echo \"Copying configs\"\n+echo \"-------------------------------------------------------------------------------------------------------------------\"\n+\n+if [[ -d \"/vagrant/etc_repose\" ]] ; then\n+    cp --force /vagrant/etc_repose/* /etc/repose/\n+fi\n+SCRIPT\n+\n+# All Vagrant configuration is done below. The \"2\" in Vagrant.configure\n+# configures the configuration version (we support older styles for\n+# backwards compatibility). Please don't change it unless you know what\n+# you're doing.\n+Vagrant.configure(2) do |config|\n+  # The most common configuration options are documented and commented below.\n+  # For a complete reference, please see the online documentation at\n+  # https://docs.vagrantup.com.\n+\n+  # Every Vagrant development environment requires a box. You can search for\n+  # boxes at https://atlas.hashicorp.com/search.\n+  #config.vm.box = \"ubuntu/trusty64\"\n+  config.vm.box = \"ubuntu/xenial64\"\n+\n+  config.vm.provision \"shell\", inline: <<SCRIPT\n+grep -q $(hostname) /etc/hosts\n+if [ $? -ne 0 ]; then\n+   echo '# Fixing a bug in some Xenial images where the local host name is not in the hosts file.' >> /etc/hosts\n+   echo '# https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1561250' >> /etc/hosts\n+   echo \"127.0.1.1 $(hostname)\" >> /etc/hosts\n+fi\n+SCRIPT\n+\n+  # Expose the Repose Java Debug Wire Protocol (JDWP) port\n+  config.vm.network :forwarded_port, guest: 10037, host: 18038\n+  #config.vm.network \"private_network\", ip: \"192.168.33.38\"\n+  # Expose the Repose port\n+  config.vm.network :forwarded_port, guest: 8080, host: 18088\n+\n+  config.vm.provision \"shell\", inline: $update_yum\n+  config.vm.provision \"shell\", inline: $install_repose_dependencies\n+  #config.vm.provision \"shell\", inline: $other_tools","path":"repose-aggregator/tests/release-verification/src/vagrant/deb/Vagrantfile","position":null,"original_position":135,"commit_id":"92b6c5e32adde38e25a253c2b3ac04872697a50b","original_commit_id":"33817c9bc4d35b83caefb5c918d23015b6d8f1b3","user":{"login":"wdschei","id":7366196,"avatar_url":"https://avatars.githubusercontent.com/u/7366196?v=3","gravatar_id":"","url":"https://api.github.com/users/wdschei","html_url":"https://github.com/wdschei","followers_url":"https://api.github.com/users/wdschei/followers","following_url":"https://api.github.com/users/wdschei/following{/other_user}","gists_url":"https://api.github.com/users/wdschei/gists{/gist_id}","starred_url":"https://api.github.com/users/wdschei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdschei/subscriptions","organizations_url":"https://api.github.com/users/wdschei/orgs","repos_url":"https://api.github.com/users/wdschei/repos","events_url":"https://api.github.com/users/wdschei/events{/privacy}","received_events_url":"https://api.github.com/users/wdschei/received_events","type":"User","site_admin":false},"body":"Removed.","created_at":"2016-10-14T14:22:46Z","updated_at":"2016-10-14T14:22:46Z","html_url":"https://github.com/rackerlabs/repose/pull/1598#discussion_r83431535","pull_request_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1598","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments/83431535"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1598#discussion_r83431535"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1598"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/repose/pulls/1598","id":89267855,"html_url":"https://github.com/rackerlabs/repose/pull/1598","diff_url":"https://github.com/rackerlabs/repose/pull/1598.diff","patch_url":"https://github.com/rackerlabs/repose/pull/1598.patch","issue_url":"https://api.github.com/repos/rackerlabs/repose/issues/1598","number":1598,"state":"open","locked":false,"title":"REP-4217 Automated Release Verification/Vagrant","user":{"login":"adrianjgeorge","id":997130,"avatar_url":"https://avatars.githubusercontent.com/u/997130?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianjgeorge","html_url":"https://github.com/adrianjgeorge","followers_url":"https://api.github.com/users/adrianjgeorge/followers","following_url":"https://api.github.com/users/adrianjgeorge/following{/other_user}","gists_url":"https://api.github.com/users/adrianjgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianjgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianjgeorge/subscriptions","organizations_url":"https://api.github.com/users/adrianjgeorge/orgs","repos_url":"https://api.github.com/users/adrianjgeorge/repos","events_url":"https://api.github.com/users/adrianjgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/adrianjgeorge/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-13T19:38:29Z","updated_at":"2016-10-14T14:22:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3da83c5ef81030ec956e33ccf66a66829bad8afe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1598/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/repose/pulls/1598/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/repose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/repose/issues/1598/comments","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/92b6c5e32adde38e25a253c2b3ac04872697a50b","head":{"label":"rackerlabs:REP-4217","ref":"REP-4217","sha":"92b6c5e32adde38e25a253c2b3ac04872697a50b","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1981821,"name":"repose","full_name":"rackerlabs/repose","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/repose/deployments","created_at":"2011-07-01T04:39:34Z","updated_at":"2016-10-14T06:19:15Z","pushed_at":"2016-10-14T14:21:10Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":104591,"stargazers_count":262,"watchers_count":262,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":9,"forks":79,"open_issues":9,"watchers":262,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"fec8d5a468ae7fca36e741870e730d427bef744b","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1981821,"name":"repose","full_name":"rackerlabs/repose","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/repose","description":"The powerful, programmable, API Middleware Platform","fork":false,"url":"https://api.github.com/repos/rackerlabs/repose","forks_url":"https://api.github.com/repos/rackerlabs/repose/forks","keys_url":"https://api.github.com/repos/rackerlabs/repose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/repose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/repose/teams","hooks_url":"https://api.github.com/repos/rackerlabs/repose/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/repose/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/repose/events","assignees_url":"https://api.github.com/repos/rackerlabs/repose/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/repose/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/repose/tags","blobs_url":"https://api.github.com/repos/rackerlabs/repose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/repose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/repose/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/repose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/repose/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/repose/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/repose/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/repose/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/repose/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/repose/subscription","commits_url":"https://api.github.com/repos/rackerlabs/repose/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/repose/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/repose/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/repose/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/repose/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/repose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/repose/merges","archive_url":"https://api.github.com/repos/rackerlabs/repose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/repose/downloads","issues_url":"https://api.github.com/repos/rackerlabs/repose/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/repose/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/repose/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/repose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/repose/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/repose/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/repose/deployments","created_at":"2011-07-01T04:39:34Z","updated_at":"2016-10-14T06:19:15Z","pushed_at":"2016-10-14T14:21:10Z","git_url":"git://github.com/rackerlabs/repose.git","ssh_url":"git@github.com:rackerlabs/repose.git","clone_url":"https://github.com/rackerlabs/repose.git","svn_url":"https://github.com/rackerlabs/repose","homepage":"http://www.openrepose.org/","size":104591,"stargazers_count":262,"watchers_count":262,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":9,"forks":79,"open_issues":9,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1598"},"html":{"href":"https://github.com/rackerlabs/repose/pull/1598"},"issue":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1598"},"comments":{"href":"https://api.github.com/repos/rackerlabs/repose/issues/1598/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1598/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/repose/pulls/1598/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/repose/statuses/92b6c5e32adde38e25a253c2b3ac04872697a50b"}}}}
{"actor":{"display_login":"wdschei"}}