{"action":"opened","number":453,"pull_request":{"url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453","id":352889431,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUyODg5NDMx","html_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/453","diff_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/453.diff","patch_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/453.patch","issue_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/453","number":453,"state":"open","locked":false,"title":"feat: use bazel to packaging apiserver-builder","user":{"login":"weixiao-huang","id":8834733,"node_id":"MDQ6VXNlcjg4MzQ3MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8834733?v=4","gravatar_id":"","url":"https://api.github.com/users/weixiao-huang","html_url":"https://github.com/weixiao-huang","followers_url":"https://api.github.com/users/weixiao-huang/followers","following_url":"https://api.github.com/users/weixiao-huang/following{/other_user}","gists_url":"https://api.github.com/users/weixiao-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/weixiao-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weixiao-huang/subscriptions","organizations_url":"https://api.github.com/users/weixiao-huang/orgs","repos_url":"https://api.github.com/users/weixiao-huang/repos","events_url":"https://api.github.com/users/weixiao-huang/events{/privacy}","received_events_url":"https://api.github.com/users/weixiao-huang/received_events","type":"User","site_admin":false},"body":"Currently there is a `cmd/BUILD.bazel` for packaging all apiserver-builder binaries containing code-generator binaries. But since bazel does not work before, the packaging process by bazel also cannot work.\r\n\r\nI think the most elegant way is to use bazel to packaging and publish release tar. So I add add support for bazel packaging.\r\n\r\nYou can use \r\n\r\n```bash\r\nbazel build cmd:apiserver-builder\r\n```\r\n\r\nto package all binaries and can find it in `bazel-bin/cmd/apiserver-builder.tar.gz`\r\n\r\nAlso, I update modules for code generation into `cmd/go.mod`, their versions match to the versions in `cmd/glide.yaml`. So if the glide version works fine, the versions of binaries are fine.\r\n","created_at":"2019-12-13T13:40:02Z","updated_at":"2019-12-13T13:40:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453/commits","review_comments_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453/comments","review_comment_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/453/comments","statuses_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/statuses/0e34a7659ff7c3f80534b94a8f2008c3b8c871b0","head":{"label":"weixiao-huang:feat/bazel-pkg-apiserver-builder","ref":"feat/bazel-pkg-apiserver-builder","sha":"0e34a7659ff7c3f80534b94a8f2008c3b8c871b0","user":{"login":"weixiao-huang","id":8834733,"node_id":"MDQ6VXNlcjg4MzQ3MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8834733?v=4","gravatar_id":"","url":"https://api.github.com/users/weixiao-huang","html_url":"https://github.com/weixiao-huang","followers_url":"https://api.github.com/users/weixiao-huang/followers","following_url":"https://api.github.com/users/weixiao-huang/following{/other_user}","gists_url":"https://api.github.com/users/weixiao-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/weixiao-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weixiao-huang/subscriptions","organizations_url":"https://api.github.com/users/weixiao-huang/orgs","repos_url":"https://api.github.com/users/weixiao-huang/repos","events_url":"https://api.github.com/users/weixiao-huang/events{/privacy}","received_events_url":"https://api.github.com/users/weixiao-huang/received_events","type":"User","site_admin":false},"repo":{"id":225562461,"node_id":"MDEwOlJlcG9zaXRvcnkyMjU1NjI0NjE=","name":"apiserver-builder-alpha","full_name":"weixiao-huang/apiserver-builder-alpha","private":false,"owner":{"login":"weixiao-huang","id":8834733,"node_id":"MDQ6VXNlcjg4MzQ3MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/8834733?v=4","gravatar_id":"","url":"https://api.github.com/users/weixiao-huang","html_url":"https://github.com/weixiao-huang","followers_url":"https://api.github.com/users/weixiao-huang/followers","following_url":"https://api.github.com/users/weixiao-huang/following{/other_user}","gists_url":"https://api.github.com/users/weixiao-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/weixiao-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weixiao-huang/subscriptions","organizations_url":"https://api.github.com/users/weixiao-huang/orgs","repos_url":"https://api.github.com/users/weixiao-huang/repos","events_url":"https://api.github.com/users/weixiao-huang/events{/privacy}","received_events_url":"https://api.github.com/users/weixiao-huang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/weixiao-huang/apiserver-builder-alpha","description":"apiserver-builder-alpha implements libraries and tools to quickly and easily build Kubernetes apiservers/controllers to support custom resource types based on APIServer Aggregation","fork":true,"url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha","forks_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/forks","keys_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/teams","hooks_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/hooks","issue_events_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/issues/events{/number}","events_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/events","assignees_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/assignees{/user}","branches_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/branches{/branch}","tags_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/tags","blobs_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/git/refs{/sha}","trees_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/statuses/{sha}","languages_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/languages","stargazers_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/stargazers","contributors_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/contributors","subscribers_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/subscribers","subscription_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/subscription","commits_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/commits{/sha}","git_commits_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/git/commits{/sha}","comments_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/comments{/number}","issue_comment_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/issues/comments{/number}","contents_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/contents/{+path}","compare_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/merges","archive_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/downloads","issues_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/issues{/number}","pulls_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/pulls{/number}","milestones_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/milestones{/number}","notifications_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/labels{/name}","releases_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/releases{/id}","deployments_url":"https://api.github.com/repos/weixiao-huang/apiserver-builder-alpha/deployments","created_at":"2019-12-03T07:56:34Z","updated_at":"2019-12-03T07:56:36Z","pushed_at":"2019-12-13T13:34:01Z","git_url":"git://github.com/weixiao-huang/apiserver-builder-alpha.git","ssh_url":"git@github.com:weixiao-huang/apiserver-builder-alpha.git","clone_url":"https://github.com/weixiao-huang/apiserver-builder-alpha.git","svn_url":"https://github.com/weixiao-huang/apiserver-builder-alpha","homepage":"","size":128091,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes-sigs:master","ref":"master","sha":"b5145a29d4adda2da0e45e30f1e0d01111a73e3c","user":{"login":"kubernetes-sigs","id":36015203,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MDE1MjAz","avatar_url":"https://avatars1.githubusercontent.com/u/36015203?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-sigs","html_url":"https://github.com/kubernetes-sigs","followers_url":"https://api.github.com/users/kubernetes-sigs/followers","following_url":"https://api.github.com/users/kubernetes-sigs/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-sigs/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-sigs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-sigs/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-sigs/orgs","repos_url":"https://api.github.com/users/kubernetes-sigs/repos","events_url":"https://api.github.com/users/kubernetes-sigs/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-sigs/received_events","type":"Organization","site_admin":false},"repo":{"id":89638209,"node_id":"MDEwOlJlcG9zaXRvcnk4OTYzODIwOQ==","name":"apiserver-builder-alpha","full_name":"kubernetes-sigs/apiserver-builder-alpha","private":false,"owner":{"login":"kubernetes-sigs","id":36015203,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MDE1MjAz","avatar_url":"https://avatars1.githubusercontent.com/u/36015203?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-sigs","html_url":"https://github.com/kubernetes-sigs","followers_url":"https://api.github.com/users/kubernetes-sigs/followers","following_url":"https://api.github.com/users/kubernetes-sigs/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-sigs/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-sigs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-sigs/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-sigs/orgs","repos_url":"https://api.github.com/users/kubernetes-sigs/repos","events_url":"https://api.github.com/users/kubernetes-sigs/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-sigs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha","description":"apiserver-builder-alpha implements libraries and tools to quickly and easily build Kubernetes apiservers/controllers to support custom resource types based on APIServer Aggregation","fork":false,"url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha","forks_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/forks","keys_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/teams","hooks_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/events","assignees_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/tags","blobs_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/languages","stargazers_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/subscription","commits_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/merges","archive_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/downloads","issues_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/deployments","created_at":"2017-04-27T20:35:24Z","updated_at":"2019-12-13T06:34:58Z","pushed_at":"2019-12-13T06:34:55Z","git_url":"git://github.com/kubernetes-sigs/apiserver-builder-alpha.git","ssh_url":"git@github.com:kubernetes-sigs/apiserver-builder-alpha.git","clone_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha.git","svn_url":"https://github.com/kubernetes-sigs/apiserver-builder-alpha","homepage":"","size":128091,"stargazers_count":349,"watchers_count":349,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":16,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":138,"open_issues":16,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453"},"html":{"href":"https://github.com/kubernetes-sigs/apiserver-builder-alpha/pull/453"},"issue":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/453"},"comments":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/issues/453/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/pulls/453/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes-sigs/apiserver-builder-alpha/statuses/0e34a7659ff7c3f80534b94a8f2008c3b8c871b0"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":341,"deletions":46,"changed_files":5}}
{"actor":{"display_login":"weixiao-huang"}}