{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/52223202","id":52223202,"diff_hunk":"@@ -0,0 +1,82 @@\n+#!/bin/bash\n+\n+# DESCRIPTION:\n+# This is a script that bootstraps basic content in the OpenShift server\n+# to facilitate development flows and users that want to kick the tires.\n+# \n+# PROVISIONS:\n+# * Users\n+# ** test-cluster-admin\n+# ** test-admin\n+# * Docker registry\n+# * OpenShift router\n+# * OpenShift templates\n+\n+# INSTRUCTIONS:\n+# $ git clone ...\n+# $ make all\n+# $ sudo <build output location>/openshift start\n+# $ hack/provision.sh\n+\n+set -o errexit\n+set -o nounset\n+set -o pipefail\n+\n+# Export necessary environment variables for resources created on openshift start\n+export ADMIN_KUBECONFIG=`pwd`/openshift.local.config/master/admin.kubeconfig\n+export REGISTRY_KUBECONFIG=`pwd`/openshift.local.config/master/openshift-registry.kubeconfig\n+export ROUTER_KUBECONFIG=`pwd`/openshift.local.config/master/openshift-router.kubeconfig\n+export CA=`pwd`/openshift.local.config/master","path":"hack/provision.sh","position":29,"original_position":29,"commit_id":"1028c204a0126aa95c95e85bbf6fbeb624589c88","original_commit_id":"1028c204a0126aa95c95e85bbf6fbeb624589c88","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"body":"I'd like to specify the location of `openshift.local.config`. If you follow the Vagrant instructions in the contributing guide, it's in a different place.\r\n\r\nhttps://github.com/openshift/origin/blob/master/CONTRIBUTING.adoc#develop-on-virtual-machine-using-vagrant","created_at":"2016-02-08T20:52:10Z","updated_at":"2016-02-08T20:52:10Z","html_url":"https://github.com/openshift/origin/pull/5899#discussion_r52223202","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/5899","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/52223202"},"html":{"href":"https://github.com/openshift/origin/pull/5899#discussion_r52223202"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/5899"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/5899","id":50690843,"html_url":"https://github.com/openshift/origin/pull/5899","diff_url":"https://github.com/openshift/origin/pull/5899.diff","patch_url":"https://github.com/openshift/origin/pull/5899.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/5899","number":5899,"state":"open","locked":false,"title":"Author common provision script for developer use","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"body":"I think centralizing on a common script when running from your host is useful to provision server.\r\n\r\nEvery developer was doing something different.\r\n\r\nExpect this to evolve.\r\n\r\n@liggitt @ncdc @bparees @deads2k @jwforres ","created_at":"2015-11-13T20:56:33Z","updated_at":"2016-02-08T20:52:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19feb7c0dd1f3b0480243034eb563238c54fbc81","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/5899/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/5899/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5899/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/1028c204a0126aa95c95e85bbf6fbeb624589c88","head":{"label":"derekwaynecarr:provision_script","ref":"provision_script","sha":"1028c204a0126aa95c95e85bbf6fbeb624589c88","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"repo":{"id":23581199,"name":"origin","full_name":"derekwaynecarr/origin","owner":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derekwaynecarr/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/derekwaynecarr/origin","forks_url":"https://api.github.com/repos/derekwaynecarr/origin/forks","keys_url":"https://api.github.com/repos/derekwaynecarr/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derekwaynecarr/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derekwaynecarr/origin/teams","hooks_url":"https://api.github.com/repos/derekwaynecarr/origin/hooks","issue_events_url":"https://api.github.com/repos/derekwaynecarr/origin/issues/events{/number}","events_url":"https://api.github.com/repos/derekwaynecarr/origin/events","assignees_url":"https://api.github.com/repos/derekwaynecarr/origin/assignees{/user}","branches_url":"https://api.github.com/repos/derekwaynecarr/origin/branches{/branch}","tags_url":"https://api.github.com/repos/derekwaynecarr/origin/tags","blobs_url":"https://api.github.com/repos/derekwaynecarr/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derekwaynecarr/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derekwaynecarr/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/derekwaynecarr/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derekwaynecarr/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/derekwaynecarr/origin/languages","stargazers_url":"https://api.github.com/repos/derekwaynecarr/origin/stargazers","contributors_url":"https://api.github.com/repos/derekwaynecarr/origin/contributors","subscribers_url":"https://api.github.com/repos/derekwaynecarr/origin/subscribers","subscription_url":"https://api.github.com/repos/derekwaynecarr/origin/subscription","commits_url":"https://api.github.com/repos/derekwaynecarr/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/derekwaynecarr/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/derekwaynecarr/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/derekwaynecarr/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/derekwaynecarr/origin/contents/{+path}","compare_url":"https://api.github.com/repos/derekwaynecarr/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derekwaynecarr/origin/merges","archive_url":"https://api.github.com/repos/derekwaynecarr/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derekwaynecarr/origin/downloads","issues_url":"https://api.github.com/repos/derekwaynecarr/origin/issues{/number}","pulls_url":"https://api.github.com/repos/derekwaynecarr/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/derekwaynecarr/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/derekwaynecarr/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derekwaynecarr/origin/labels{/name}","releases_url":"https://api.github.com/repos/derekwaynecarr/origin/releases{/id}","deployments_url":"https://api.github.com/repos/derekwaynecarr/origin/deployments","created_at":"2014-09-02T14:13:12Z","updated_at":"2014-09-11T20:20:31Z","pushed_at":"2015-12-03T21:11:36Z","git_url":"git://github.com/derekwaynecarr/origin.git","ssh_url":"git@github.com:derekwaynecarr/origin.git","clone_url":"https://github.com/derekwaynecarr/origin.git","svn_url":"https://github.com/derekwaynecarr/origin","homepage":"https://openshift.github.io","size":178602,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"693be191a98228377df5e6fe4a747bc993018452","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/origin/deployments","created_at":"2014-07-30T20:04:05Z","updated_at":"2016-02-08T17:56:58Z","pushed_at":"2016-02-08T20:26:19Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":251242,"stargazers_count":1013,"watchers_count":1013,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":620,"mirror_url":null,"open_issues_count":820,"forks":620,"open_issues":820,"watchers":1013,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/5899"},"html":{"href":"https://github.com/openshift/origin/pull/5899"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/5899"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/5899/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/5899/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/5899/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/1028c204a0126aa95c95e85bbf6fbeb624589c88"}}}}