{"action":"reopened","number":11439,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439","id":40227591,"html_url":"https://github.com/kubernetes/kubernetes/pull/11439","diff_url":"https://github.com/kubernetes/kubernetes/pull/11439.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/11439.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/11439","number":11439,"state":"open","locked":false,"title":"Allow a local /cluster/env.sh to be sourced if present","user":{"login":"jfchevrette","id":3001,"avatar_url":"https://avatars.githubusercontent.com/u/3001?v=3","gravatar_id":"","url":"https://api.github.com/users/jfchevrette","html_url":"https://github.com/jfchevrette","followers_url":"https://api.github.com/users/jfchevrette/followers","following_url":"https://api.github.com/users/jfchevrette/following{/other_user}","gists_url":"https://api.github.com/users/jfchevrette/gists{/gist_id}","starred_url":"https://api.github.com/users/jfchevrette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfchevrette/subscriptions","organizations_url":"https://api.github.com/users/jfchevrette/orgs","repos_url":"https://api.github.com/users/jfchevrette/repos","events_url":"https://api.github.com/users/jfchevrette/events{/privacy}","received_events_url":"https://api.github.com/users/jfchevrette/received_events","type":"User","site_admin":false},"body":"This PR allows for a /cluster/env.sh file to exist which will be sourced at the top of /cluster/kube-up/down/push scripts.\r\n\r\nThis avoid the need to manually export provider variables before running the scripts. This is useful when iterating rapidly on test clusters because you don't have to remember to export the environment variables every time in every shells/terminals.\r\n\r\nThis does not change the current behaviour because the /cluster/env.sh file does not exist by default. It is also added to .gitignore for obvious reasons.\r\n\r\nDocs changes might be useful to explain that this can be done. However I'm unsure how to go about this because each provider has it's own set of variables and everything is split out under each of the providers guides. Would it be alright to merge this without adding it to the docs since it doesn't change the current/default behaviour?","created_at":"2015-07-17T12:46:37Z","updated_at":"2015-08-28T18:31:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"185e90d8696cd6404d0c86fd23283c3a841381dc","assignee":{"login":"zmerlynn","id":4942464,"avatar_url":"https://avatars.githubusercontent.com/u/4942464?v=3","gravatar_id":"","url":"https://api.github.com/users/zmerlynn","html_url":"https://github.com/zmerlynn","followers_url":"https://api.github.com/users/zmerlynn/followers","following_url":"https://api.github.com/users/zmerlynn/following{/other_user}","gists_url":"https://api.github.com/users/zmerlynn/gists{/gist_id}","starred_url":"https://api.github.com/users/zmerlynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmerlynn/subscriptions","organizations_url":"https://api.github.com/users/zmerlynn/orgs","repos_url":"https://api.github.com/users/zmerlynn/repos","events_url":"https://api.github.com/users/zmerlynn/events{/privacy}","received_events_url":"https://api.github.com/users/zmerlynn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/11439/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/91a05c0709af688f73e3ba28620af2c1ab6d78f4","head":{"label":"jfchevrette:source-local-cluster-env","ref":"source-local-cluster-env","sha":"91a05c0709af688f73e3ba28620af2c1ab6d78f4","user":{"login":"jfchevrette","id":3001,"avatar_url":"https://avatars.githubusercontent.com/u/3001?v=3","gravatar_id":"","url":"https://api.github.com/users/jfchevrette","html_url":"https://github.com/jfchevrette","followers_url":"https://api.github.com/users/jfchevrette/followers","following_url":"https://api.github.com/users/jfchevrette/following{/other_user}","gists_url":"https://api.github.com/users/jfchevrette/gists{/gist_id}","starred_url":"https://api.github.com/users/jfchevrette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfchevrette/subscriptions","organizations_url":"https://api.github.com/users/jfchevrette/orgs","repos_url":"https://api.github.com/users/jfchevrette/repos","events_url":"https://api.github.com/users/jfchevrette/events{/privacy}","received_events_url":"https://api.github.com/users/jfchevrette/received_events","type":"User","site_admin":false},"repo":{"id":39214595,"name":"kubernetes","full_name":"jfchevrette/kubernetes","owner":{"login":"jfchevrette","id":3001,"avatar_url":"https://avatars.githubusercontent.com/u/3001?v=3","gravatar_id":"","url":"https://api.github.com/users/jfchevrette","html_url":"https://github.com/jfchevrette","followers_url":"https://api.github.com/users/jfchevrette/followers","following_url":"https://api.github.com/users/jfchevrette/following{/other_user}","gists_url":"https://api.github.com/users/jfchevrette/gists{/gist_id}","starred_url":"https://api.github.com/users/jfchevrette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfchevrette/subscriptions","organizations_url":"https://api.github.com/users/jfchevrette/orgs","repos_url":"https://api.github.com/users/jfchevrette/repos","events_url":"https://api.github.com/users/jfchevrette/events{/privacy}","received_events_url":"https://api.github.com/users/jfchevrette/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfchevrette/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/jfchevrette/kubernetes","forks_url":"https://api.github.com/repos/jfchevrette/kubernetes/forks","keys_url":"https://api.github.com/repos/jfchevrette/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfchevrette/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfchevrette/kubernetes/teams","hooks_url":"https://api.github.com/repos/jfchevrette/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/jfchevrette/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/jfchevrette/kubernetes/events","assignees_url":"https://api.github.com/repos/jfchevrette/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/jfchevrette/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/jfchevrette/kubernetes/tags","blobs_url":"https://api.github.com/repos/jfchevrette/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfchevrette/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfchevrette/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfchevrette/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfchevrette/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/jfchevrette/kubernetes/languages","stargazers_url":"https://api.github.com/repos/jfchevrette/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/jfchevrette/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/jfchevrette/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/jfchevrette/kubernetes/subscription","commits_url":"https://api.github.com/repos/jfchevrette/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfchevrette/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfchevrette/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfchevrette/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfchevrette/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/jfchevrette/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfchevrette/kubernetes/merges","archive_url":"https://api.github.com/repos/jfchevrette/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfchevrette/kubernetes/downloads","issues_url":"https://api.github.com/repos/jfchevrette/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/jfchevrette/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/jfchevrette/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/jfchevrette/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfchevrette/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/jfchevrette/kubernetes/releases{/id}","created_at":"2015-07-16T18:53:33Z","updated_at":"2015-07-16T18:53:40Z","pushed_at":"2015-08-27T12:16:39Z","git_url":"git://github.com/jfchevrette/kubernetes.git","ssh_url":"git@github.com:jfchevrette/kubernetes.git","clone_url":"https://github.com/jfchevrette/kubernetes.git","svn_url":"https://github.com/jfchevrette/kubernetes","homepage":"http://kubernetes.io","size":102593,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"b2dafdaef5aceafad503ab56254b60f80da9e980","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-08-28T16:56:28Z","pushed_at":"2015-08-28T18:23:56Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":363954,"stargazers_count":9927,"watchers_count":9927,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2419,"mirror_url":null,"open_issues_count":1657,"forks":2419,"open_issues":1657,"watchers":9927,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/11439"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/11439"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/11439/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/11439/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/91a05c0709af688f73e3ba28620af2c1ab6d78f4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":18,"deletions":0,"changed_files":4}}